You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Luke Chen <lc...@parasoft.com> on 2000/12/13 17:53:57 UTC

A bug with LocatorImpl ?

Hi,
Has anyone else tried this and gotten the same bug with the LocatorImpl
shipped with Xerces?  The bug is if you have an XML file with multiple
element declarations, the column position is N-1 columns off for every Nth
element on a same line:

Example:
<element1>text1</element1><element2>text2</element2><element3>text3</element
3>

In the input file listed above, the LocatorImpl from the parser would return
the correct column for element1, but would be 1 column off for element2, and
be 2 columns off for element3....

Is there a fix available?

-Luke