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

55 lines
1.2 KiB
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(somedoc, , )
SAX.entityDecl(a, 1, (null), (null), something)
SAX.getEntity(a)
SAX.entityDecl(b, 1, (null), (null), &a;)
SAX.getEntity(b)
SAX.externalSubset(somedoc, , )
SAX.startElementNs(somedoc, NULL, NULL, 0, 0, 0)
SAX.characters(
, 2)
SAX.getEntity(b)
SAX.getEntity(a)
SAX.startElementNs(somebeacon, NULL, NULL, 0, 1, 0, someattribute='some...', 9)
SAX.endElementNs(somebeacon, NULL, NULL)
SAX.characters(
, 2)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters( should appear after colon: , 28)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters(
, 1)
SAX.getEntity(b)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters( should appear after colon: , 28)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters(
, 1)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters( should appear after colon: , 28)
SAX.getEntity(b)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters(
, 1)
SAX.getEntity(b)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters( should appear after colon: , 28)
SAX.getEntity(b)
SAX.getEntity(a)
SAX.characters(something, 9)
SAX.characters(
, 2)
SAX.endElementNs(somedoc, NULL, NULL)
SAX.endDocument()