You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2020/03/15 04:41:07 UTC

svn commit: r1875203 - in /xerces/java: branches/xml-schema-1.1-dev/docs/samples-jaxp.xml branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java trunk/docs/samples-jaxp.xml

Author: mukulg
Date: Sun Mar 15 04:41:07 2020
New Revision: 1875203

URL: http://svn.apache.org/viewvc?rev=1875203&view=rev
Log:
mentioning XSD 1.1 into the diagnostics of jaxp.SourceValidator sample. updating corresponding site docs meta-data as well.

Modified:
    xerces/java/branches/xml-schema-1.1-dev/docs/samples-jaxp.xml
    xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java
    xerces/java/trunk/docs/samples-jaxp.xml

Modified: xerces/java/branches/xml-schema-1.1-dev/docs/samples-jaxp.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/docs/samples-jaxp.xml?rev=1875203&r1=1875202&r2=1875203&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/docs/samples-jaxp.xml (original)
+++ xerces/java/branches/xml-schema-1.1-dev/docs/samples-jaxp.xml Sun Mar 15 04:41:07 2020
@@ -119,14 +119,26 @@
      </td>
     </tr>
     <tr><td>-m  | -M</td><td>Turn on/off memory usage report.</td></tr>
-    <tr><td>-xsd11</td><td>Turn on/off XSD 1.1 support.</td></tr>
     <tr>
-      <td>-fx</td>
-      <td>Turn on/off full XPath 2.0 checks with CTA when working with XSD 1.1.</td>
+     <td>-xsd11</td>
+     <td>
+       Turn on/off XSD 1.1 support.<br/>
+       <strong>NOTE:</strong> Only available with Xerces-J XSD 1.1 distribution.
+     </td>
     </tr>
     <tr>
-      <td>-acp</td>
-      <td>Turn on/off assert comments and PI processing when working with XSD 1.1.</td>
+     <td>-fx</td>
+     <td>
+       Turn on/off full XPath 2.0 checks with CTA when working with XSD 1.1.<br/>
+       <strong>NOTE:</strong> Only available with Xerces-J XSD 1.1 distribution.
+     </td>
+    </tr>
+    <tr>
+     <td>-acp</td>
+     <td>
+      Turn on/off assert comments and PI processing when working with XSD 1.1.<br/>
+      <strong>NOTE:</strong> Only available with Xerces-J XSD 1.1 distribution.
+     </td>
     </tr>
     <tr><td>-h</td><td>Display help screen.</td></tr>
    </table>

Modified: xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java?rev=1875203&r1=1875202&r2=1875203&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java (original)
+++ xerces/java/branches/xml-schema-1.1-dev/samples/jaxp/SourceValidator.java Sun Mar 15 04:41:07 2020
@@ -668,19 +668,25 @@ public class SourceValidator implements
         
         System.err.println();
         System.err.println("defaults:");
-        System.err.println("  Schema language:                 " + DEFAULT_SCHEMA_LANGUAGE);
-        System.err.println("  Repetition:                      " + DEFAULT_REPETITION);
-        System.err.println("  Validation source:               " + DEFAULT_VALIDATION_SOURCE);
-        System.err.print("  Schema full checking:            ");
+        System.err.println("  Schema language:                    " + DEFAULT_SCHEMA_LANGUAGE);
+        System.err.println("  Repetition:                         " + DEFAULT_REPETITION);
+        System.err.println("  Validation source:                  " + DEFAULT_VALIDATION_SOURCE);
+        System.err.print("  Schema full checking:               ");
         System.err.println(DEFAULT_SCHEMA_FULL_CHECKING ? "on" : "off");
-        System.err.print("  Honour all schema locations:     ");
+        System.err.print("  Honour all schema locations:        ");
         System.err.println(DEFAULT_HONOUR_ALL_SCHEMA_LOCATIONS ? "on" : "off");
-        System.err.print("  Validate annotations:            ");
+        System.err.print("  Validate annotations:               ");
         System.err.println(DEFAULT_VALIDATE_ANNOTATIONS ? "on" : "off");
-        System.err.print("  Generate synthetic annotations:  ");
+        System.err.print("  Generate synthetic annotations:     ");
         System.err.println(DEFAULT_GENERATE_SYNTHETIC_ANNOTATIONS ? "on" : "off");
-        System.err.print("  Memory:                          ");
+        System.err.print("  Memory:                             ");
         System.err.println(DEFAULT_MEMORY_USAGE ? "on" : "off");
+        System.err.print("  XSD 1.1 [-xsd11 option]:            ");
+        System.err.println("off");
+        System.err.print("  CTA XPath 2.0:                      ");
+        System.err.println(DEFAULT_XS11_CTA_XPATH_FULL_CHECKING ? "on" : "off");
+        System.err.print("  Assert comments and PI processing:  ");
+        System.err.println(DEFAULT_XS11_ASSERT_COMMENT_PI_CHECKING ? "on" : "off");
         
         System.err.println();
         System.err.println("notes:");

Modified: xerces/java/trunk/docs/samples-jaxp.xml
URL: http://svn.apache.org/viewvc/xerces/java/trunk/docs/samples-jaxp.xml?rev=1875203&r1=1875202&r2=1875203&view=diff
==============================================================================
--- xerces/java/trunk/docs/samples-jaxp.xml (original)
+++ xerces/java/trunk/docs/samples-jaxp.xml Sun Mar 15 04:41:07 2020
@@ -119,6 +119,27 @@
      </td>
     </tr>
     <tr><td>-m  | -M</td><td>Turn on/off memory usage report.</td></tr>
+    <tr>
+     <td>-xsd11</td>
+     <td>
+       Turn on/off XSD 1.1 support.<br/>
+       <strong>NOTE:</strong> Only available with Xerces-J XSD 1.1 distribution.
+     </td>
+    </tr>
+    <tr>
+     <td>-fx</td>
+     <td>
+       Turn on/off full XPath 2.0 checks with CTA when working with XSD 1.1.<br/>
+       <strong>NOTE:</strong> Only available with Xerces-J XSD 1.1 distribution.
+     </td>
+    </tr>
+    <tr>
+     <td>-acp</td>
+     <td>
+      Turn on/off assert comments and PI processing when working with XSD 1.1.<br/>
+      <strong>NOTE:</strong> Only available with Xerces-J XSD 1.1 distribution.
+     </td>
+    </tr>
     <tr><td>-h</td><td>Display help screen.</td></tr>
    </table>
   </s3>



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