Using Delphi 2009 and IXMLDOMDocument2
I receive "An invalid character was found in text content" error when loading XML into IXMLDOMDocument2. The character is 1B (in Hex) and is present within a CDATA section. Microsoft's XML viewer (IE) loads the file just fine. The XML looks like...
<data><child><![CDATA[-- ]]></child></data>
NOTE: I try to paste the XML, but the special character is removed. In the CDATA section there is the 1B character following "-- " in my XML file.
I've tried adding to the start of the XML and other encodings and nothing is working for me. Is there anything that can be done to load this file?
Thanks, Michael