W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: [XHR] What mime types should trigger XML parsing?

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 24 Apr 2006 14:20:41 +0200
To: "Jonas Sicking" <jonas@sicking.cc>, "Maciej Stachowiak" <mjs@apple.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.s8ihwrtt64w2qv@id-c0020.lan>

On Mon, 24 Apr 2006 01:04:39 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>> The only one not on the current list that Safari supports is text/ xsl.  
>> I don't care that much about it, but it is far more widely used  than  
>> the official "application/xslt+xml" and for various reasons  (namely  
>> the fact that IE insists on text/xsl for XSL stylesheets)  it's  
>> impossible to serve it with the proper MIME type. I don't know  if  
>> anyone cares about retrieving XSL stylesheets with XMLHttpRequest   
>> though.
> Note that IE does not require "text/xsl" to be passed as a mimetype  
> during the http transfer. It only requires it inside the  
> <?xml-stylesheet?> processing instruction. IE handlels fine "text/xml"  
> as mimetype during the actual http transfer.
> For this reason mozilla does not treat "text/xsl" as an xml mime type.

That is what I thought as well. On Windows:


... is not treated as XML by Opera 9 (beta), Firefox and Internet Explorer  
6. (It does have a text/xsl media type.)

Anne van Kesteren
Received on Monday, 24 April 2006 12:21:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC