I have an XML file which XML parser choke on.
A part of it is :
<closedDeal><customer><![CDATA[ABC ]]></customer></closedDeal>
The error I got is
The literal string ']]>' is not allowed in element content. Error processing resource
What is the correct way of using CDATA?
I need CDATA because the data is read from Excel, and could contain illegal character such as ALT+ENTER whitespace.
Please help.
Thanks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…