You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yet again, line 3 is returned for <Element_2>. I was expecting it to return line 5.
The root cause is sax. I replaced sax by saxes in a local install to test this use case specifically, and saxes returns the correct line number for the elements.
The text was updated successfully, but these errors were encountered:
When the xml source contains elements where the start tag spans multiple lines, xmldoc gets lost in the line count.
For example:
In this case, xmldoc returns 3 as the line for
<Element_2>
. I was expecting it to return line 4.Another example:
Yet again, line 3 is returned for
<Element_2>
. I was expecting it to return line 5.The root cause is sax. I replaced sax by saxes in a local install to test this use case specifically, and saxes returns the correct line number for the elements.
The text was updated successfully, but these errors were encountered: