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

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

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 26 Apr 2006 05:12:59 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: Maciej Stachowiak <mjs@apple.com>, "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <Pine.LNX.4.62.0604260510340.21459@dhalsim.dreamhost.com>

On Sun, 23 Apr 2006, Anne van Kesteren wrote:
> > 
> > Also, consider the following media types that represent XML data of 
> > some form, but are not text/xml, application/xml, or a type that ends 
> > in +xml. Some of these are unofficial or obsolete:
> > 
> > text/xsl
> 
> 364,000: http://www.google.com/search?q=text%2Fxsl
>
> [...]

There's a big difference between example pages claiming that authors 
should set the type="" attribute to text/xsl, and servers actually using
that MIME type in their Content-Type headers, let along in the
Content-Type headers of content used from XMLHttpRequest.

I'd recomend only looking at text/xml, application/xml, and */*+xml.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 26 April 2006 05:13:08 GMT

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