[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Is #x81 is invalid char in xml 1.0

Thanks for your reply.
I am trying to keep x81 as a char (similar to some char 'a') but it failed. 
What is your IE version? I have test with IE 6.0 it was failed to open the doc.
I have corrected the xml file and attached.
----- Original Message -----
Sent: Wednesday, March 19, 2003 10:09 PM
Subject: Re: Is #x81 is invalid char in xml 1.0

The document you attached is not well formed. You have this:
<logfile lineno=800 pos=8> U:\cw\bugz\113194\cwnz20030304_141.xml </logfile>
You need quotes around the attribute values:
<logfile lineno="800" pos="8"> U:\cw\bugz\113194\cwnz20030304_141.xml </logfile>
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.
Chuck White
Author, Mastering XSLT, Sybex Books
----- Original Message -----
From: Koti
Sent: Wednesday, March 19, 2003 8:19 AM
Subject: Is #x81 is invalid char in xml 1.0


EBNF Notation for char in XML1.0: 

Char ::= #x9 | #xA | #xD |[#x20-#xD7FF] |[#xE000-#xFFFD] |[#x10000-#x10FFFF]



EBNF Notation for char in XML1.1: 

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?

The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
<?xml version="1.0"?>


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.