mrglavas 2003/11/14 12:41:32 Modified: java/docs faq-write.xml Log: Fix reference to default configuration and some typos. Revision Changes Path 1.23 +5 -8 xml-xerces/java/docs/faq-write.xml Index: faq-write.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/docs/faq-write.xml,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- faq-write.xml 24 Jan 2003 23:01:36 -0000 1.22 +++ faq-write.xml 14 Nov 2003 20:41:32 -0000 1.23 @@ -114,10 +114,7 @@ </a> </faq> <faq title='What does "non-validating" mean?'> - <q> - Why does "non-validating" not mean "well-formedness - checking only"? - </q> + <q>Why does "non-validating" not mean "well-formedness checking" only?</q> <a> <p> Using a "non-validating" parser does not mean that @@ -227,15 +224,15 @@ <a> <p> Since the pull-parsing API is specific to Xerces, you have to use - Xerces-specific way to create parsers, and parse documents. + a Xerces-specific method to create parsers, and parse documents. </p> <p> - You first need to create a parser configuration that implements the + First, you need to create a parser configuration that implements the <code>XMLPullParserConfiguration</code> interface. Then you need to create a parser from this configuration. To parse documents, method <code>parse(boolean)</code> should be called. </p> - <source>import org.apache.xerces.parsers.StandardParserConfiguration; + <source>import &DefaultConfigLong;; import org.apache.xerces.parsers.SAXParser; import org.apache.xerces.xni.parser.XMLInputSource; @@ -243,7 +240,7 @@ boolean continueParse = true; void pullParse(XMLInputSource input) throws Exception { - StandardParserConfiguration config = new StandardParserConfiguration(); + &DefaultConfig; config = new &DefaultConfig;(); SAXParser parser = new SAXParser(config); config.setInputSource(input); parser.reset();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]