From d1651859518324a462ec83a97a09070d42a1a5d7 Mon Sep 17 00:00:00 2001 From: "Fred L. Drake, Jr." Date: Mon, 13 Aug 2001 19:10:09 +0000 Subject: [PATCH] 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. --- expat/doc/reference.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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).
-- 
2.40.0