[Expat-checkins] expat/lib expat.h,1.66,1.67
Karl Waclawek
kwaclaw at users.sourceforge.net
Mon Apr 26 20:49:37 EDT 2004
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29232
Modified Files:
expat.h
Log Message:
Added comment about the effects on well-formedness checking after
calling XML_UseForeignDTD(parser, XML_TRUE).
Index: expat.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/expat.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- expat.h 26 Mar 2004 14:24:09 -0000 1.66
+++ expat.h 27 Apr 2004 00:49:34 -0000 1.67
@@ -679,6 +679,9 @@
specified in the document. In such a case the parser will call the
externalEntityRefHandler with a value of NULL for the systemId
argument (the publicId and context arguments will be NULL as well).
+ Note: For the purpose of checking WFC: Entity Declared, passing
+ useDTD == XML_TRUE will make the parser behave as if the document
+ had a DTD with an external subset.
Note: If this function is called, then this must be done before
the first call to XML_Parse or XML_ParseBuffer, since it will
have no effect after that. Returns
More information about the Expat-checkins
mailing list