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/11/22 06:10:41 UTC

svn commit: r1883717 - in /xerces: java/branches/xml-schema-1.1-dev/docs/faq-grammars.xml java/trunk/docs/faq-grammars.xml site/trunk/production/xerces2-j/faq-grammars.html

Author: mukulg
Date: Sun Nov 22 06:10:40 2020
New Revision: 1883717

URL: http://svn.apache.org/viewvc?rev=1883717&view=rev
Log:
minor improvements to xercesj documentation text

Modified:
    xerces/java/branches/xml-schema-1.1-dev/docs/faq-grammars.xml
    xerces/java/trunk/docs/faq-grammars.xml
    xerces/site/trunk/production/xerces2-j/faq-grammars.html

Modified: xerces/java/branches/xml-schema-1.1-dev/docs/faq-grammars.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/docs/faq-grammars.xml?rev=1883717&r1=1883716&r2=1883717&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/docs/faq-grammars.xml (original)
+++ xerces/java/branches/xml-schema-1.1-dev/docs/faq-grammars.xml Sun Nov 22 06:10:40 2020
@@ -35,7 +35,7 @@
         <code>org.apache.xerces.xni.grammars.Grammar</code>
         interface; simply differentiates objects that are Xerces
         grammars from other objects, as well as providing a means
-        to get at the location information (<code>XMLGrammarDescription</code>) for the grammar represented..</li>
+        to get at the location information (<code>XMLGrammarDescription</code>) for the grammar represented.</li>
         <li><code>XMLGrammarDescription</code>:  defined by the
         <code>org.apache.xerces.xni.grammars.XMLGrammarDescription</code>
         interface, holds some basic location information common to all grammars.
@@ -184,11 +184,11 @@
         are instances of
         <code>org.apache.xerces.impl.dtd.XMLDTDDescription</code>.</li>
         <li>If their publicId or expandedSystemId fields are
-        non-null they must be identical;</li>
+        non-null they must be identical.</li>
         <li>If one of the descriptions has a root element
         defined, it must be the same as the root element defined
         in the other description, or be in the list of global
-        elements stored in that description;</li>
+        elements stored in that description.</li>
         <li>If neither has a root element defined, then they must
         share at least one global element declaration in
         common.</li>
@@ -369,15 +369,15 @@ DocumentBuilder builder = // JAXP factor
         <link idref="api" anchor="xml-schema-api-documentation">API</link> docs for
         the <code>org.apache.xerces.xs</code>
         package.  Assuming you have produced a Grammar object from an XML Schema
-        document by some means, to turn that object
+        document by some means. To turn that object
         into an object usable in this API, do the following:
     </p>
     <ol>
         <li>
-            Cast the Grammar object to <code>org.apache.xerces.xni.grammars.XSGrammar</code>;
+            Cast the Grammar object to <code>org.apache.xerces.xni.grammars.XSGrammar</code>.
         </li>
         <li>
-            Call the <code>toXSModel()</code> method on the casted object;
+            Call the <code>toXSModel()</code> method on the casted object.
         </li>
         <li>
             Use the methods in the <code>org.apache.xerces.xs.XSModel</code>

Modified: xerces/java/trunk/docs/faq-grammars.xml
URL: http://svn.apache.org/viewvc/xerces/java/trunk/docs/faq-grammars.xml?rev=1883717&r1=1883716&r2=1883717&view=diff
==============================================================================
--- xerces/java/trunk/docs/faq-grammars.xml (original)
+++ xerces/java/trunk/docs/faq-grammars.xml Sun Nov 22 06:10:40 2020
@@ -35,7 +35,7 @@
         <code>org.apache.xerces.xni.grammars.Grammar</code>
         interface; simply differentiates objects that are Xerces
         grammars from other objects, as well as providing a means
-        to get at the location information (<code>XMLGrammarDescription</code>) for the grammar represented..</li>
+        to get at the location information (<code>XMLGrammarDescription</code>) for the grammar represented.</li>
         <li><code>XMLGrammarDescription</code>:  defined by the
         <code>org.apache.xerces.xni.grammars.XMLGrammarDescription</code>
         interface, holds some basic location information common to all grammars.
@@ -184,11 +184,11 @@
         are instances of
         <code>org.apache.xerces.impl.dtd.XMLDTDDescription</code>.</li>
         <li>If their publicId or expandedSystemId fields are
-        non-null they must be identical;</li>
+        non-null they must be identical.</li>
         <li>If one of the descriptions has a root element
         defined, it must be the same as the root element defined
         in the other description, or be in the list of global
-        elements stored in that description;</li>
+        elements stored in that description.</li>
         <li>If neither has a root element defined, then they must
         share at least one global element declaration in
         common.</li>
@@ -369,15 +369,15 @@ DocumentBuilder builder = // JAXP factor
         <link idref="api" anchor="xml-schema-api-documentation">API</link> docs for
         the <code>org.apache.xerces.xs</code>
         package.  Assuming you have produced a Grammar object from an XML Schema
-        document by some means, to turn that object
+        document by some means. To turn that object
         into an object usable in this API, do the following:
     </p>
     <ol>
         <li>
-            Cast the Grammar object to <code>org.apache.xerces.xni.grammars.XSGrammar</code>;
+            Cast the Grammar object to <code>org.apache.xerces.xni.grammars.XSGrammar</code>.
         </li>
         <li>
-            Call the <code>toXSModel()</code> method on the casted object;
+            Call the <code>toXSModel()</code> method on the casted object.
         </li>
         <li>
             Use the methods in the <code>org.apache.xerces.xs.XSModel</code>

Modified: xerces/site/trunk/production/xerces2-j/faq-grammars.html
URL: http://svn.apache.org/viewvc/xerces/site/trunk/production/xerces2-j/faq-grammars.html?rev=1883717&r1=1883716&r2=1883717&view=diff
==============================================================================
--- xerces/site/trunk/production/xerces2-j/faq-grammars.html (original)
+++ xerces/site/trunk/production/xerces2-j/faq-grammars.html Sun Nov 22 06:10:40 2020
@@ -59,7 +59,7 @@
         <CODE>org.apache.xerces.xni.grammars.Grammar</CODE>
         interface; simply differentiates objects that are Xerces
         grammars from other objects, as well as providing a means
-        to get at the location information (<CODE>XMLGrammarDescription</CODE>) for the grammar represented..</LI>
+        to get at the location information (<CODE>XMLGrammarDescription</CODE>) for the grammar represented.</LI>
         <LI><CODE>XMLGrammarDescription</CODE>:  defined by the
         <CODE>org.apache.xerces.xni.grammars.XMLGrammarDescription</CODE>
         interface, holds some basic location information common to all grammars.
@@ -204,11 +204,11 @@
         are instances of
         <CODE>org.apache.xerces.impl.dtd.XMLDTDDescription</CODE>.</LI>
         <LI>If their publicId or expandedSystemId fields are
-        non-null they must be identical;</LI>
+        non-null they must be identical.</LI>
         <LI>If one of the descriptions has a root element
         defined, it must be the same as the root element defined
         in the other description, or be in the list of global
-        elements stored in that description;</LI>
+        elements stored in that description.</LI>
         <LI>If neither has a root element defined, then they must
         share at least one global element declaration in
         common.</LI>
@@ -377,15 +377,15 @@ DocumentBuilder builder = // JAXP factor
         <A href="api.html#xml-schema-api-documentation">API</A> docs for
         the <CODE>org.apache.xerces.xs</CODE>
         package.  Assuming you have produced a Grammar object from an XML Schema
-        document by some means, to turn that object
+        document by some means. To turn that object
         into an object usable in this API, do the following:
     </P>
     <OL>
         <LI>
-            Cast the Grammar object to <CODE>org.apache.xerces.xni.grammars.XSGrammar</CODE>;
+            Cast the Grammar object to <CODE>org.apache.xerces.xni.grammars.XSGrammar</CODE>.
         </LI>
         <LI>
-            Call the <CODE>toXSModel()</CODE> method on the casted object;
+            Call the <CODE>toXSModel()</CODE> method on the casted object.
         </LI>
         <LI>
             Use the methods in the <CODE>org.apache.xerces.xs.XSModel</CODE>



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