mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-27 14:03:36 +03:00
9475a352bd
* HTMLparser.c testHTML.c xmllint.c include/libxml/HTMLparser.h: added the same htmlRead APIs than their XML counterparts * include/libxml/parser.h: new parser options, not yet implemented, added an options field to the context. * tree.c: patch from Shaun McCance to fix bug #123238 when ]]> is found within a cdata section. * result/noent/cdata2 result/cdata2 result/cdata2.rdr result/cdata2.sax test/cdata2: add one more cdata test Daniel
19 lines
321 B
Plaintext
19 lines
321 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElement(collection)
|
|
SAX.characters(
|
|
, 3)
|
|
SAX.startElement(test)
|
|
SAX.pcdata(
|
|
<![CDATA[abc], 18)
|
|
SAX.characters(], 1)
|
|
SAX.getEntity(gt)
|
|
SAX.characters(>, 1)
|
|
SAX.pcdata(
|
|
, 3)
|
|
SAX.endElement(test)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(collection)
|
|
SAX.endDocument()
|