Menu

#3 dataContent CDATA escape characters

open
nobody
None
5
2003-10-21
2003-10-21
pic
No

Hi

DataContent set with following line :
dataContent.setText("<![CDATA[Hello]]>");

appears with escaped characters in DataContent.toXML :
<DataContent><![CDATA[Hello]]></DataContent>

what i wish is :
<DataContent><![CDATA[Hello]]></DataContent>

Thank you for your help,
Pierre

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.