[Expat-checkins] expat/lib expat.h,1.26,1.27

kwaclaw@users.sourceforge.net kwaclaw@users.sourceforge.net
Tue Jul 9 13:59:05 2002


Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19902

Modified Files:
	expat.h 
Log Message:
Applied modified version of patch #578161.

Index: expat.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/expat.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- expat.h	1 Jul 2002 16:46:05 -0000	1.26
+++ expat.h	9 Jul 2002 20:58:17 -0000	1.27
@@ -371,6 +371,10 @@
       has been read *and* this is not an error.
    2) An internal entity reference is read, but not expanded, because
       XML_SetDefaultHandler has been called.
+   Note: skipped parameter entities in declarations and skipped general
+         entities in attribute values cannot be reported, because
+         the event would be out of sync with the reporting of the
+         declarations or attribute values
 */
 typedef void (*XML_SkippedEntityHandler)(void *userData,
                                          const XML_Char *entityName,
@@ -725,7 +729,8 @@
   XML_ERROR_UNCLOSED_CDATA_SECTION,
   XML_ERROR_EXTERNAL_ENTITY_HANDLING,
   XML_ERROR_NOT_STANDALONE,
-  XML_ERROR_UNEXPECTED_STATE
+  XML_ERROR_UNEXPECTED_STATE,
+  XML_ERROR_ENTITY_DECLARED_IN_PE
 };
 
 /* If XML_Parse or XML_ParseBuffer have returned 0, then