* raj wrote in microsoft.public.dotnet.xml:
>what does this error mean? how can i fix this?
You have an octet 0x02 or perhaps a character reference  in the
document. This is not allowed in XML 1.0; the latter is allowed in XML
1.1 but your version of the .NET framework probably does not support
that, and most likely you have not declared this version either. In
other words, your document includes random binary data and is there-
fore not an XML document. You have to correct the document before you
can successfully parse it.

Signature
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/
> what does this error mean? how can i fix this?
The XML 1.0 specification does not allow that character in an XML 1.0
document at all. The only way to include it and have it successfully
parsed with the .NET framework is to use a character reference in the
form of , then with .NET framework 1.1 and XmlTextReader that
character reference is allowed, with .NET framework 2.0 and XmlReader
such a character reference is allowed only with XmlReaderSettings and
the CheckCharacters property set to false.
Note however that while .NET allows such character references with those
settings the XML 1.0 specification disallows them so even if the .NET
XML parser accepts your XML a different XML parser might reject it.

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/