mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2026-01-26 21:41:34 +03:00
* HTMLparser.c: Applied the last patch from Gary Coady for #304637 changing the behaviour when text nodes are found in body * result/HTML/*: this changes the output of some tests Daniel
39 lines
767 B
Plaintext
39 lines
767 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(HTML, -//W3C//DTD HTML 4.0 Transitional//EN, http://www.w3.org/TR/REC-html40/loose.dtd)
|
|
SAX.startElement(html)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(head)
|
|
SAX.ignorableWhitespace(
|
|
, 3)
|
|
SAX.startElement(title)
|
|
SAX.endElement(title)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endElement(head)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.startElement(body)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.startElement(ul)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.startElement(li)
|
|
SAX.characters(First item
|
|
, 11)
|
|
SAX.endElement(li)
|
|
SAX.startElement(li)
|
|
SAX.characters(Second item, closes the first , 34)
|
|
SAX.endElement(li)
|
|
SAX.endElement(ul)
|
|
SAX.characters(
|
|
|
|
, 2)
|
|
SAX.endElement(body)
|
|
SAX.endElement(html)
|
|
SAX.ignorableWhitespace(
|
|
, 1)
|
|
SAX.endDocument()
|