1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00
libxml2/result/adjacent-cdata.xml.sax2
Nick Wellnhofer 8ae06d5223 SAX2: Don't merge CDATA sections
The Document Object Model (DOM) Level 3 Core Specification says:

> Adjacent CDATASection nodes are not merged by use of the normalize
> method of the Node interface.

Fixes #412.
2024-08-29 01:31:19 +02:00

9 lines
199 B
Plaintext

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
SAX.pcdata(abc, 3)
SAX.pcdata(def, 3)
SAX.pcdata(ghi, 3)
SAX.endElementNs(doc, NULL, NULL)
SAX.endDocument()