[ expat-Bugs-422239 ] Bug in XmlUpdatePosition()
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 08 May 2001 02:14:47 -0700
Bugs item #422239, was updated on 2001-05-08 02:14
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=422239&group_id=10127
Category: XML::Parser
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Clark Cooper (coopercc)
Summary: Bug in XmlUpdatePosition()
Initial Comment:
If I call XML_GetCurrentLineNumber() at the end of a document, it appears to double count the
lines.
Calling XML_GetCurrentLineNumber() on every end element event seems to solve the problem. I
have no explanation for this, other than supposing there may be a bug in the call to
XmlUpdatePosition(), from XML_Parse().
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=422239&group_id=10127