1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-28 07:21:26 +03:00
libxml2/result/xhtmlcomp.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

24 lines
738 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.internalSubset(html, -//W3C//DTD XHTML 1.0 Strict//EN, http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd)
SAX.externalSubset(html, -//W3C//DTD XHTML 1.0 Strict//EN, http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd)
SAX.startElementNs(html, NULL, NULL, 0, 0, 0)
SAX.characters(
, 3)
SAX.startElementNs(body, NULL, NULL, 0, 0, 0)
SAX.characters(
, 5)
SAX.startElementNs(h1, NULL, NULL, 0, 0, 0)
SAX.startElementNs(abbr, NULL, NULL, 0, 0, 0)
SAX.characters(a, 1)
SAX.endElementNs(abbr, NULL, NULL)
SAX.characters( b, 2)
SAX.endElementNs(h1, NULL, NULL)
SAX.characters(
, 3)
SAX.endElementNs(body, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(html, NULL, NULL)
SAX.endDocument()