[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: Is #x81 is invalid char in xml 1.0
The document you attached is not well formed. You
<logfile lineno=800 pos=8>
You need quotes around the attribute
<logfile lineno="800" pos="8">
The parser may not have reported that to you if you
really used this:
instead of this:
My version of IE shows a square, so I must not have
whatever encoding that is from, but it parses just fine when I make these
corrections to your file.
Author, Mastering XSLT, Sybex
----- Original Message -----
Sent: Wednesday, March 19, 2003 8:19
Subject: Is #x81 is invalid
char in xml 1.0
Notation for char in XML1.0:
Char ::= #x9 | #xA | #xD |[#x20-#xD7FF]
Notation for char in
Char ::= #x9 | #xA | #xD | [#x20-#x7E] | #x85 | [#xA0-#xD7FF] |
[#xE000-#xFFFD] | [#x10000-#x10FFFF]
I tried to load an XML which has #x81 character as part of one XML node value. ( I have attached the sample XML file as an attachment.)
But MSXML parser and IE6.0 failed to load that document with xml version 1.0 and gave an error messgae says "An invalid char found in
xml file." that pointed to #x81 char, but according to BNF notation #x81 is valid char.
Does anybody have any clue why MSXML parser failed to load this document?
xml-dev list is sponsored by XML.org <http://www.xml.org>,
initiative of OASIS <http://www.oasis-open.org>
archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or
unsubscribe from this list use the subscription
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please