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

36 lines
918 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.entityDecl(test1, 1, (null), (null), test 1)
SAX.getEntity(test1)
SAX.entityDecl(test2, 1, (null), (null), test 2)
SAX.getEntity(test2)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 4)
SAX.startElementNs(Content, NULL, NULL, 0, 0, 0)
SAX.characters(Reten, 5)
SAX.characters(ç, 2)
SAX.characters(ã, 2)
SAX.characters(o, 1)
SAX.endElementNs(Content, NULL, NULL)
SAX.characters(
, 4)
SAX.startElementNs(Content, NULL, NULL, 0, 0, 0)
SAX.characters(<, 1)
SAX.characters(>, 1)
SAX.endElementNs(Content, NULL, NULL)
SAX.characters(
, 4)
SAX.startElementNs(Content, NULL, NULL, 0, 0, 0)
SAX.getEntity(test1)
SAX.characters(test 1, 6)
SAX.getEntity(test2)
SAX.characters(test 2, 6)
SAX.endElementNs(Content, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()