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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Is #x81 is invalid char in xml 1.0

[ Lists Home | Date Index | Thread Index ]

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:
 
#x81
 
instead of this:
 
&#x81;
 
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
http://www.javertising.com/webtech
http://www.tumeric.net
----- Original Message -----
From: Koti
Sent: Wednesday, March 19, 2003 8:19 AM
Subject: [xml-dev] Is #x81 is invalid char in xml 1.0


Hi,
 

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?
Thanks,
Koti
 


-----------------------------------------------------------------
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>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS