This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > February 2005 > XMLDoc.Load 1072896760





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XMLDoc.Load 1072896760
gam81t

2005-02-22, 6:42 pm


I receive the error code 1072896760, whenever I try to .Load the XML
file to read the values inside. Error Message = "An invalid character
was found in text content."
I have determined that it is the French Character "é" that is causing
the problem. The Unicode is set to "UTF-8". Is there anything that I
can do on my end, in order to read load this XML file, or do I need to
have it changed at the senders side?

Any help would be appreciated. Thanks.


--
gam81t
Bjoern Hoehrmann

2005-02-23, 4:29 am

* gam81t wrote in microsoft.public.xml:
>I have determined that it is the French Character "é" that is causing
>the problem. The Unicode is set to "UTF-8". Is there anything that I
>can do on my end, in order to read load this XML file, or do I need to
>have it changed at the senders side?


You can always try to change the document before passing it to the
parser, but here it seems that the document is indeed not well-formed,
so you should check with the sender how this can be addressed.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
Ion Vasilian

2005-02-23, 6:49 pm

You should ask the sender of the document to specify the correct
encoding of the document through a XML declaration. "UTF-8" is
not it in this case.

"gam81t" <gam81t.1kvgq2@news.webfrustration.com> wrote in message
news:gam81t.1kvgq2@news.webfrustration.com...
>
> I receive the error code 1072896760, whenever I try to .Load the XML
> file to read the values inside. Error Message = "An invalid character
> was found in text content."
> I have determined that it is the French Character "é" that is causing
> the problem. The Unicode is set to "UTF-8". Is there anything that I
> can do on my end, in order to read load this XML file, or do I need to
> have it changed at the senders side?
>
> Any help would be appreciated. Thanks.
>
>
> --
> gam81t



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews