diff --git a/expat/doc/reference.html b/expat/doc/reference.html index fc4d4c0b..57b91360 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -638,7 +638,12 @@ freeing any memory associated with UserData.
To state the obvious: the three parsing functions XML_Parse
,
+XML_ParseBuffer
and XML_GetBuffer
must not be called
+from within a handler unless they operate on a separate parser instance, that is,
+one that did not call the handler. For example, it is OK to call the parsing
+functions from within an XML_ExternalEntityRefHandler
, if they
+apply to the parser created by XML_ExternalEntityParserCreate
.