From: Fred L. Drake, Jr. Date: Mon, 13 Aug 2001 19:10:09 +0000 (+0000) Subject: Added a note to the XML_GetCurrentByteCount() function that it returns 0 X-Git-Tag: R_1_95_3~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1651859518324a462ec83a97a09070d42a1a5d7;p=libexpat Added a note to the XML_GetCurrentByteCount() function that it returns 0 for the end tag event when an empty-element tag is used. Noted on expat-discuss by Michael Isard. --- diff --git a/expat/doc/reference.html b/expat/doc/reference.html index bfaeae41..ff585eff 100644 --- a/expat/doc/reference.html +++ b/expat/doc/reference.html @@ -1326,8 +1326,11 @@ int XML_GetCurrentByteCount(XML_Parser p);
-Return the number of bytes in the current event. Returns 0 if the event is -inside a reference to an internal entity. +Return the number of bytes in the current event. Returns +0 if the event is inside a reference to an internal +entity and for the end-tag event for empty element tags (the later can +be used to distinguish empty-element tags from empty elements using +separate start and end tags).