mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
d0d2f090dc
* xmlsave.c parser.c: fix handling of empty CDATA nodes as reported and discussed around #514181 and associated patches * test/emptycdata.xml result/emptycdata.xml* result/noent/emptycdata.xml: added a specific test in the regression suite. Daniel svn path=/trunk/; revision=3701
11 lines
203 B
Plaintext
11 lines
203 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElement(html, xmlns='http://www.w3.org/1999/xhtml')
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.pcdata(, 0)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(html)
|
|
SAX.endDocument()
|