[Home] [By Thread] [By Date] [Recent Entries]

  • To: <xml-dev@l...>
  • Subject: Is #x81 is invalid char in xml 1.0
  • From: "Koti" <e1947@j...>
  • Date: Wed, 19 Mar 2003 21:49:09 +0530


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
 
<?xml version="1.0"?>
<root>
<node>
<logfile> U:\cw\bugz\113194\cwnz20030304_141.xml </logfile>
<ati3>
&#157;o&#159;bZ&#236;&#164;&#228;&#157;&#238;O&#254;
</ati3>
</node>
<node>
<logfile lineno=800 pos=8> U:\cw\bugz\113194\cwnz20030304_141.xml </logfile>
<ati3>
&#157;o&#159;bZ&#236;&#164;&#228;&#157;&#238;O&#254;
</ati3>
</node>
</root>

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member