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

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 UTC