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

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:

  http://dump.testsuite.org/2006/media-types/001

... 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
<http://annevankesteren.nl/>
<http://www.opera.com/>

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