cargilld 2004/12/14 07:21:42 Modified: c/doc program-dom.xml program-sax.xml program-sax2.xml Log: Update documentation to describe new option to ignore a cached DTD grammar. Revision Changes Path 1.44 +34 -1 xml-xerces/c/doc/program-dom.xml Index: program-dom.xml =================================================================== RCS file: /home/cvs/xml-xerces/c/doc/program-dom.xml,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- program-dom.xml 1 Dec 2004 16:37:07 -0000 1.43 +++ program-dom.xml 14 Dec 2004 15:21:42 -0000 1.44 @@ -613,6 +613,21 @@ </table> <p/> + <anchor name="XercesIgnoreCachedDTD"/> + <table> + <tr><th colspan="2"><em>setIgnoreCachedDTD</em></th></tr> + <tr><th><em>true:</em></th><td> Ignore a cached DTD when an XML document contains both an + internal and external DTD, and the use cached grammar from parse option + is enabled. Currently, we do not allow using cached DTD grammar when an + internal subset is present in the document. This option will only affect + the behavior of the parser when an internal and external DTD both exist + in a document (i.e. no effect if document has no internal subset).</td></tr> + <tr><th><em>false:</em></th><td> Don't ignore cached DTD. </td></tr> + <tr><th><em>default:</em></th><td> false </td></tr> + <tr><th><em>see:</em></th><td> + <link anchor="use-cached">useCachedGrammarInParse</link></td></tr> + </table> + <anchor name="CreateSchemaInfo"/> <table> <tr><th colspan="2"><em>setCreateSchemaInfo</em></th></tr> @@ -1320,7 +1335,25 @@ <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesValidateAnnotations </td></tr> <tr><th><em>note:</em></th><td> Each annotation is validated independently. </td></tr> </table> - <p/> + <p/> + + <anchor name="builder-IgnoreCachedDTD"/> + <table> + <tr><th colspan="2"><em>http://apache.org/xml/features/validation/ignoreCachedDTD</em></th></tr> + <tr><th><em>true:</em></th><td> Ignore a cached DTD when an XML document contains both an + internal and external DTD, and the use cached grammar from parse option + is enabled. Currently, we do not allow using cached DTD grammar when an + internal subset is present in the document. This option will only affect + the behavior of the parser when an internal and external DTD both exist + in a document (i.e. no effect if document has no internal subset).</td></tr> + <tr><th><em>false:</em></th><td> Don't ignore cached DTD. </td></tr> + <tr><th><em>default:</em></th><td> false </td></tr> + <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesIgnoreCachedDTD </td></tr> + <tr><th><em>see:</em></th><td> + <link anchor="builder-use-cached">http://apache.org/xml/features/validation/use-cachedGrammarInParse</link> + </td></tr> + </table> + <p/> <anchor name="builder-DOMHasPsviInfo"/> <table> 1.21 +17 -1 xml-xerces/c/doc/program-sax.xml Index: program-sax.xml =================================================================== RCS file: /home/cvs/xml-xerces/c/doc/program-sax.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- program-sax.xml 1 Dec 2004 16:37:07 -0000 1.20 +++ program-sax.xml 14 Dec 2004 15:21:42 -0000 1.21 @@ -389,7 +389,23 @@ <tr><th><em>note:</em></th><td> Each annotation is validated independently. </td></tr> </table> <p/> - + + <anchor name="XercesIgnoreCachedDTD"/> + <table> + <tr><th colspan="2"><em>setIgnoreCachedDTD</em></th></tr> + <tr><th><em>true:</em></th><td> Ignore a cached DTD when an XML document contains both an + internal and external DTD, and the use cached grammar from parse option + is enabled. Currently, we do not allow using cached DTD grammar when an + internal subset is present in the document. This option will only affect + the behavior of the parser when an internal and external DTD both exist + in a document (i.e. no effect if document has no internal subset).</td></tr> + <tr><th><em>false:</em></th><td> Don't ignore cached DTD. </td></tr> + <tr><th><em>default:</em></th><td> false </td></tr> + <tr><th><em>see:</em></th><td> + <link anchor="use-cached">useCachedGrammarInParse</link></td></tr> + </table> + <p/> + <table> <tr><th colspan="2"><em>void setExternalSchemaLocation(const XMLCh* const)</em></th></tr> <tr><th><em>Description</em></th><td> The XML Schema Recommendation explicitly states that 1.27 +17 -0 xml-xerces/c/doc/program-sax2.xml Index: program-sax2.xml =================================================================== RCS file: /home/cvs/xml-xerces/c/doc/program-sax2.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- program-sax2.xml 1 Dec 2004 16:37:07 -0000 1.26 +++ program-sax2.xml 14 Dec 2004 15:21:42 -0000 1.27 @@ -421,6 +421,23 @@ </table> <p/> + <anchor name="IgnoreCachedDTD"/> + <table> + <tr><th colspan="2"><em>http://apache.org/xml/features/validation/ignoreCachedDTD</em></th></tr> + <tr><th><em>true:</em></th><td> Ignore a cached DTD when an XML document contains both an + internal and external DTD, and the use cached grammar from parse option + is enabled. Currently, we do not allow using cached DTD grammar when an + internal subset is present in the document. This option will only affect + the behavior of the parser when an internal and external DTD both exist + in a document (i.e. no effect if document has no internal subset).</td></tr> + <tr><th><em>false:</em></th><td> Don't ignore cached DTD. </td></tr> + <tr><th><em>default:</em></th><td> false </td></tr> + <tr><th><em>XMLUni Predefined Constant:</em></th><td> fgXercesIgnoreCachedDTD </td></tr> + <tr><th><em>see:</em></th><td> + <link anchor="use-cached">http://apache.org/xml/features/validation/use-cachedGrammarInParse</link> + </td></tr> + </table> + <p/> </s4> </s3>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]