mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-02-05 05:47:00 +03:00
- HTMLparser.[ch] testHTML.c: applied the second set of patches from Wayne Davison <wayned@blorf.net>, adding htmlEncodeEntities() - HTMLparser.c: fixed an ignorable white space detection bug occuring when parsing with SAX only - result/HTML/*.sax: updated since the output is now HTML encoded... Daniel.
50 lines
898 B
Plaintext
50 lines
898 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElement(html)
|
|
SAX.startElement(body)
|
|
SAX.startElement(p)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(p)
|
|
SAX.startElement(head)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(title)
|
|
SAX.characters(Regression test 3, 17)
|
|
SAX.endElement(title)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(head)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(body)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(h1)
|
|
SAX.characters(Regression test 3, 17)
|
|
SAX.endElement(h1)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(p)
|
|
SAX.characters(
|
|
Autoclose of tag P
|
|
, 20)
|
|
SAX.endElement(p)
|
|
SAX.startElement(hr)
|
|
SAX.endElement(hr)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(p)
|
|
SAX.characters(
|
|
Ok file no problem
|
|
, 20)
|
|
SAX.endElement(p)
|
|
SAX.endElement(body)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(body)
|
|
SAX.endElement(html)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endDocument()
|