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
292 B
Plaintext
11 lines
292 B
Plaintext
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.startElementNs(html, NULL, 'http://www.w3.org/1999/xhtml', 1, xmlns='http://www.w3.org/1999/xhtml', 0, 0)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.pcdata(, 0)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElementNs(html, NULL, 'http://www.w3.org/1999/xhtml')
|
|
SAX.endDocument()
|