1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
libxml2/result/dtd12.sax2
Daniel Veillard 4a5a964c66 added SAXv2 regression tests apparently missing. added SAX1/SAX2 checks.
* result/*.sax2 MAkefile.am: added SAXv2 regression tests apparently
  missing.
* runtest.c: added SAX1/SAX2 checks.
Daniel
2005-06-27 10:40:55 +00:00

18 lines
488 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(doc, , )
SAX.entityDecl(YN, 1, (null), (null), "Yes")
SAX.getEntity(YN)
SAX.entityDecl(WhatHeSaid, 1, (null), (null), He said &YN;)
SAX.getEntity(WhatHeSaid)
SAX.externalSubset(doc, , )
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.getEntity(WhatHeSaid)
SAX.characters(He said , 8)
SAX.getEntity(YN)
SAX.characters("Yes", 5)
SAX.reference(YN)
SAX.reference(WhatHeSaid)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()