Using Delphi 2009 and IXMLDOMDocument2
When loading XML into an IXMLDOMDocument2 file, the error message "An invalid character was found in text content" appears. Symbol 1B (in Hex) and is present in the CDATA section. The Microsoft XML Viewer (IE) downloads the file just fine. XML looks like ...
<data><child><![CDATA[-- ]]></child></data>
NOTE. I am trying to insert XML, but the special character is deleted. In the CDATA section, there is a 1B character following the "-" in my XML file.
I tried to add the beginning of XML and other encodings, and nothing works for me. Is there anything that can be done to download this file?
Thanks Michael
source
share