[xml] Error parsing xml containing <SOH>
- From: "Labour, Matthieu (MLPRO SF)" <matthieu_labour ml com>
- To: <xml gnome org>
- Subject: [xml] Error parsing xml containing <SOH>
- Date: Tue, 25 Oct 2005 12:51:04 -0400
Title: Error parsing xml containing <SOH>
Hi
I have a simple xml file containing ASCII <SOH> :
<?xml version="1.0" encoding="ISO-8859-1"?>
<messages>
<message msg= "8=FIX4.29=248" / >
</messages>
I use xmlReader
xmlTextReaderPtr reader = xmlReaderForFile("C:/file.xml",NULL,0);
int ret = xmlTextReaderRead(reader);
And I get
C:/file.xml:3: parser error : xmlParseCharRef: invalid xmlChar
value 1
<message msg = "8=FIX.4.29=24835=F
I am new to libxml2. I must be misusing the API. I probably should not use a Text Reader in that case…
I would appreciate any help.
Thank you in advance.
If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it.
Click here for important additional terms relating to this e-mail.
http://www.ml.com/email_terms/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]