mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-26 20:25:14 +03:00
e986d09cf5
Commit 4fd69f3e
fixed handling of '<' characters not followed by an
ASCII letter. But a '<!' sequence followed by invalid characters should
be treated as bogus comment and skipped.
Fixes #380.
21 lines
363 B
Plaintext
21 lines
363 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElement(html)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(body)
|
|
SAX.characters(
|
|
, 5)
|
|
SAX.error: Incorrectly opened comment
|
|
SAX.characters(..., 3)
|
|
SAX.error: Incorrectly opened comment
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.endElement(body)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(html)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endDocument()
|