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
Use strlen instead of calculation on dr->buf to manage both strings with and
without \0 last character.
Add tests on last element closed not opened (aka orphan).
In some conditions, a final orphan end tag is reported to the Sax handler incorrectly:
Even worse, when the orphan end tag is empty, the name can't be built and causes this error:
This problem doesn't occur when the XML payload contains any character after the end tag:
Context
The tiny
test.rb
used to parse the given input:The text was updated successfully, but these errors were encountered: