xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r1241684 - in /xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl: inst2xsd/Inst2XsdOptions.java xsd2inst/SchemaInstanceGenerator.java
Date Tue, 07 Feb 2012 22:55:57 GMT
Author: cezar
Date: Tue Feb  7 22:55:56 2012
New Revision: 1241684

URL: http://svn.apache.org/viewvc?rev=1241684&view=rev
Log:
Fixed javadoc for inst2xsd and xsd2inst tools.


Modified:
    xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/inst2xsd/Inst2XsdOptions.java
    xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/xsd2inst/SchemaInstanceGenerator.java

Modified: xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/inst2xsd/Inst2XsdOptions.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/inst2xsd/Inst2XsdOptions.java?rev=1241684&r1=1241683&r2=1241684&view=diff
==============================================================================
--- xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/inst2xsd/Inst2XsdOptions.java (original)
+++ xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/inst2xsd/Inst2XsdOptions.java Tue Feb
 7 22:55:56 2012
@@ -21,13 +21,13 @@ package org.apache.xmlbeans.impl.inst2xs
        * Design
           o Russian Doll Design - local elements and local types
           o Salami Slice Design - global elements and local types
-          o Venetian Blind Design - local elements and global complex types
+          o Venetian Blind Design (default)- local elements and global complex types
        * Simple content types (leafs)
           o smart (default) - try to find out the right simple shema type
           o always xsd:string
        * Use enumeration - when there are multiple valid values in a list
           o never
-          o only if not more than ( 20 ) - number option
+          o only if not more than the value (default 10)- number option 
  */
 public class Inst2XsdOptions
 {

Modified: xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/xsd2inst/SchemaInstanceGenerator.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/xsd2inst/SchemaInstanceGenerator.java?rev=1241684&r1=1241683&r2=1241684&view=diff
==============================================================================
--- xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/xsd2inst/SchemaInstanceGenerator.java
(original)
+++ xmlbeans/trunk/src/tools/org/apache/xmlbeans/impl/xsd2inst/SchemaInstanceGenerator.java
Tue Feb  7 22:55:56 2012
@@ -46,8 +46,9 @@ public class SchemaInstanceGenerator
         System.out.println("    -name    the name of the root element");
         System.out.println("    -dl      enable network downloads for imports and includes");
         System.out.println("    -nopvr   disable particle valid (restriction) rule");
-        System.out.println("    -noupa   diable unique particle attributeion rule");
+        System.out.println("    -noupa   disable unique particle attribution rule");
         System.out.println("    -license prints license information");
+        System.out.println("    -version prints version information");
     }
 
     public static void main(String[] args)
@@ -175,7 +176,7 @@ public class SchemaInstanceGenerator
             System.out.println("Could not find a global element with name \"" + rootName
+ "\"");
             return;
         }
-        
+
         // Now generate it
         String result = SampleXmlUtil.createSampleForType(elem);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org


Mime
View raw message