0

I'm reading some XML files containing CDATA sections. Now, the problem is that the XML parser (in NET 1.1) is giving me the following error: [XmlException: There is an invalid character in the given encoding. Line 12, position 6.] The error is inside a CDATA section. More specifically, the character in question is an Š letter (but there are tons of other diacritics as well). I thought CDATA sections are completely ignored by the parser. Any ideas?

The relevant code is <![CDATA[some text here ]]>

dsp_user
  • 2,061
  • 2
  • 16
  • 23

1 Answers1

0

If the data in CDATA section is of the format of ${a_b:pp} it is throwing error. It is coming as a variable whose value is not defined in the Logic. It will throw parsing exception. What you can do is to give space between $ and other text.