[Expat-checkins] expat/lib expat.h,1.42,1.43
Karl Waclawek
kwaclaw@users.sourceforge.net
Thu, 17 Oct 2002 09:47:47 -0700
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4616
Modified Files:
expat.h
Log Message:
Improved documentation of XML_ExternalEntityRefHandler.
Index: expat.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/expat.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- expat.h 7 Oct 2002 20:26:31 -0000 1.42
+++ expat.h 17 Oct 2002 16:47:45 -0000 1.43
@@ -399,6 +399,7 @@
expected by the context argument to XML_ExternalEntityParserCreate;
context is valid only until the handler returns, so if the
referenced entity is to be parsed later, it must be copied.
+ context is NULL only when the entity is a parameter entity.
The handler should return 0 if processing should not continue
because of a fatal error in the handling of the external entity.