E
Ernesto Bascón Pantoja
Hi everybody:
I do not know if this is the correct list to a very specific
implementation problem, but if you can help me, it would be great!
I have one application that builds a Xml that contains some strange
characters:
std::string str = "Code = ";
str += '♦'; //strange character ASCII 4
and I serialize the Xml using Xerces and Xerces writes something like
(no matter the encoding I am using; I tried iso-8859-1; utf-8; utf-16,
etc.)
<XmlTest>
Code = ♦
</XmlTest>
But when I want to load this Xml using the Microsoft .NET
System.Xml.XmlDocument, I get an:
"Invalid character found" exception and the XML cannot be loaded.
What is wrong here? If I try to serialize the same String using the MS
implementation, I get a:
<XmlTest>
Code = &x4;
</XmlTest>
I do not know if this is the correct list to a very specific
implementation problem, but if you can help me, it would be great!
I have one application that builds a Xml that contains some strange
characters:
std::string str = "Code = ";
str += '♦'; //strange character ASCII 4
and I serialize the Xml using Xerces and Xerces writes something like
(no matter the encoding I am using; I tried iso-8859-1; utf-8; utf-16,
etc.)
<XmlTest>
Code = ♦
</XmlTest>
But when I want to load this Xml using the Microsoft .NET
System.Xml.XmlDocument, I get an:
"Invalid character found" exception and the XML cannot be loaded.
What is wrong here? If I try to serialize the same String using the MS
implementation, I get a:
<XmlTest>
Code = &x4;
</XmlTest>