Closed javiercbk closed 6 years ago
The Wikipedia entry for the sax parser api page states that:
the SAX specification deliberately states that a given section of text may be reported as multiple sequential text events. Many parsers, for example, return separate text events for numeric character references
So this is perfectly fine
The following snippet produces an unexpected output:
Output produced:
A workaround is to check if the endElement event was not emmited before the text event.
Is this behaviour expected?
Thanks