You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2002/02/07 16:47:41 UTC
cvs commit: xml-xerces/java/docs faq-xni.xml
andyc 02/02/07 07:47:41
Modified: java/docs faq-xni.xml
Log:
Fixed documentation bug: the order of selecting the parser
configuration was incorrect in the documentation but correct
in the source code.
Revision Changes Path
1.3 +4 -4 xml-xerces/java/docs/faq-xni.xml
Index: faq-xni.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/faq-xni.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- faq-xni.xml 29 Jan 2002 00:06:09 -0000 1.2
+++ faq-xni.xml 7 Feb 2002 15:47:41 -0000 1.3
@@ -36,12 +36,12 @@
<ol>
<li>
First, the <code>org.apache.xerces.xni.parser.XMLParserConfiguration</code>
- file is requested from the <code>META-INF/services/</code> directory.
- This file contains the class name of the parser configuration.
+ system property is queried for the class name of the parser configuration.
</li>
<li>
Next, the <code>org.apache.xerces.xni.parser.XMLParserConfiguration</code>
- system property is queried for the class name of the parser configuration.
+ file is requested from the <code>META-INF/services/</code> directory.
+ This file contains the class name of the parser configuration.
</li>
<li>
Finally, the <code>org.apache.xerces.parsers.StandardParserConfiguration</code>
@@ -60,7 +60,7 @@
the Xerces JAR files, the parser will use the new parser configuration.
</p>
<p>
- The second method can always be used on the command line for the JVM
+ The first method can always be used on the command line for the JVM
by using the <code>-D</code> option. For example, to override the
default parser configuration using a custom configuration named
<code>MyConfig</code>, use the following command line:
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org