[ expat-Bugs-422239 ] Bug in XmlUpdatePosition()

noreply@sourceforge.net noreply@sourceforge.net
Wed, 25 Jul 2001 14:00:55 -0700


Bugs item #422239, was opened at 2001-05-08 02:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=422239&group_id=10127

>Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Fred L. Drake, Jr. (fdrake)
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().

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-25 14:00

Message:
Logged In: YES 
user_id=3066

Removing the assignment to Clark, since he does not seem to be available, and this doesn't appear to be an XML::Parser specific bug.

I need to generate a test case for this.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=422239&group_id=10127