mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-06 20:58:17 +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.
44 lines
911 B
Plaintext
44 lines
911 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(
|
|
, 3)
|
|
SAX.startElement(title)
|
|
SAX.characters(This service is temporary down, 30)
|
|
SAX.endElement(title)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(head)
|
|
SAX.ignorableWhitespace(
|
|
|
|
, 2)
|
|
SAX.startElement(body, bgcolor='#FFFFFF')
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(h1, align='center')
|
|
SAX.characters(Sorry, this service is tempora, 30)
|
|
SAX.endElement(h1)
|
|
SAX.startElement(p)
|
|
SAX.characters(
|
|
We are doing our best to get , 30)
|
|
SAX.endElement(p)
|
|
SAX.startElement(p)
|
|
SAX.characters(The W3C system administrators, 29)
|
|
SAX.endElement(p)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(body)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(body)
|
|
SAX.endElement(html)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endDocument()
|