Menu

#85 Olifant: Convert CDATA section

open
nobody
5
2008-05-01
2008-05-01
Anonymous
No

Currently Olifant reads the content of ,seg> as it is (since the Olifant rows are in XML.

When there is a CDATA section, it is passed verbatim:

<seg>TU with cdata: <![CDATA[& and <]]></seg>

gives

"TU with cdata: <![CDATA[& and <]]>"

It would be better to harmonoze the content into normal mixed content without CDATA:

"TU with cdata: &amp; and &lt;"

Discussion