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


Help: OASIS Mailing Lists Help | MarkMail Help



   IE5.0 does not conform to RFC2376

[ Lists Home | Date Index | Thread Index ]
  • From: MURATA Makoto <murata@apsdc.ksp.fujixerox.co.jp>
  • To: xml-dev@ic.ac.uk
  • Date: Mon, 22 Mar 1999 00:09:17 +0900

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.


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


Fuji Xerox Information Systems
Tel: +81-44-812-7230   Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


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

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