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

IE5.0 does not conform to RFC2376

  • From: MURATA Makoto <murata@a...>
  • To: xml-dev@i...
  • Date: Mon, 22 Mar 1999 00:09:17 +0900

ie 5.0 utf 8
I believe that IE 5.0 does not conform to RFC2376 (XML Media Types), 
of which I am a co-author.

As for the XML media type "text/xml", the charset parameter in the 
MIME header is authoritative.  Encoding declarations have to be ignored 
so that transcoding is possible.

However, IE 5.0 appears to always ignore the charset parameter and use 
the BOM or encoding declaration only.  Therefore, IE 5.0 does not conform to
RFC 2376.

Proof: I made a UTF-8 XML document which also parses even when it is assumed as 
Shift_JIS.  Then, I provided the correct charaset parameter "utf-8" 
in the MIME header by configuring Apache and provided an encoding declaration 
"Shift_JIS" in the XML document.  Such mismatch is perfectly legal and 
usual when proxies perform code conversion.  I tried this document with IE 5.0.  
Incorrect characters were displayed.  Q.E.D.

FYI:  

When the charset parameter is not specified, it is assumed as US-ASCII.  The 
column "Setting Your Server Up for XML" (http://www.xml.com/1999/03/ie5/first-x.xml) 
considers this case only.

If you are using Apache and overriding by AddType is allowed, you only have to 
create a file named .htaccess in your directory and write a line as below:

	AddType "text/xml;  charset=utf-8"    xml

Cheers,

Makoto
 
Fuji Xerox Information Systems
 
Tel: +81-44-812-7230   Fax: +81-44-812-7231
E-mail: murata@a...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.