[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] IE5.0 does not conform to RFC2376
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|