1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/result/noent/ns.sax2
Nick Wellnhofer dbaab1f369 Test SAX2 callbacks with entity substitution
This detects regressions like bug 760367.
2017-06-16 21:38:57 +02:00

12 lines
498 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(diagram, dia, 'http://www.lysator.liu.se/~alla/dia/', 1, xmlns:dia='http://www.lysator.liu.se/~alla/dia/', 0, 0)
SAX.characters(
, 3)
SAX.startElementNs(diagramdata, dia, 'http://www.lysator.liu.se/~alla/dia/', 0, 1, 0, dia:testattr='test...', 4)
SAX.endElementNs(diagramdata, dia, 'http://www.lysator.liu.se/~alla/dia/')
SAX.characters(
, 1)
SAX.endElementNs(diagram, dia, 'http://www.lysator.liu.se/~alla/dia/')
SAX.endDocument()