1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/result/emptycdata.xml.sax
Daniel Veillard d0d2f090dc fix handling of empty CDATA nodes as reported and discussed around #514181
* 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
2008-03-07 16:50:21 +00:00

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()