#16 Locator.getLineNumber() becomes out of step

closed-fixed
5
2004-07-11
2003-03-10
Anonymous
No

When parsing larger files it appears that the Locator
line number can gain a line every so often. I've
enclosed a junit test which creates an XML string
containing many identical records and then parses
it. The test shows that in the duration of the parse
we get an extra increment. Increasing the byte
count of each record decreases the number of
records that have to be processed before this
behavior is displayed.

This behavior is fully repeatable and occurs on 1.02
and 1.03 of the parser.

Contact email:
john@foxon.org
john.foxon@ubsw.com

Discussion

  • Yuval Oren

    Yuval Oren - 2004-07-11

    Logged In: YES
    user_id=479054

    This bug has been fixed in the latest release. If you find it's
    still a problem, please re-open or submit a new bug.

     
  • Yuval Oren

    Yuval Oren - 2004-07-11
    • assigned_to: nobody --> yuvalo
    • status: open --> closed-fixed
     

Log in to post a comment.