OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Encoding/Character problem



Hello, 

Can anyone please tell me why I am getting an "Invalid unicode character"
error when I try to load the following XML into an MSXML4.0 DOMDocument? (I
have converted alphabetic characters to x's due to the nature of the data in
the actual file but the problem still occurs. I have tried taking each
character one by one (except the HTML encoded characters obviously where I
took the whole &..; block) and didn't get any errors but when I try the
whole line the error returns.

<?xml version="1.0" encoding="iso-8859-1"?>
<ROWSET>
<REPORT_TEXT>
9 xx 10 xxxxxx xxxxx,xxxxxx xx&#11;xxxxxxxx xx xxxxxxxx xx xxxxx xxxxxxx
xxxxxxxx xx xxxxx xxx  xxx xx xxxxxxxxx xxxx xxxxxx xxxxxxx xxxxxxx x xxxx
xx xxxxxxxx xxx xxxx xx xxxxxxx xxxxxxxxx xxxxxxxxxx. xxx xxxxxxx xxxxxx xx
xxxxxx xx xxx xx xxxxx xxxxxxx.          x00056877/2001 xxxx x (x1)&#13;
</REPORT_TEXT>
</ROWSET>

Many TIA
Cheers
Ian


___________________________________________________________________________
This email is confidential and intended solely for the use of the 
individual to whom it is addressed. Any views or opinions presented are 
solely those of the author and do not necessarily represent those of 
SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or 
copying of this email is strictly prohibited.

If you have received this email in error please notify the SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
___________________________________________________________________________