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

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 23 Apr 2006 16:04:39 -0700
Message-ID: <444C0807.4090709@sicking.cc>
To: Maciej Stachowiak <mjs@apple.com>, Web APIs WG <public-webapi@w3.org>

Maciej Stachowiak 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.

/ Jonas
Received on Sunday, 23 April 2006 23:04:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT