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

Re: XMLHttpRequest.responseXML and invalid XML documents

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 26 Apr 2006 05:31:28 +0000 (UTC)
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "Hallvord R. M. Steen" <hallvord@opera.com>, public-webapi@w3.org
Message-ID: <Pine.LNX.4.62.0604260530490.21459@dhalsim.dreamhost.com>

On Sun, 23 Apr 2006, Boris Zbarsky wrote:
> >
> > - FireFox *does* return null if the document is sent as text/html
> 
> Or anything else that doesn't look like an XML MIME type.

Personally I'd quite like responseXML to return a Document if the content 
is text/html, since it can just as easily be parsed into a DOM as XML can.

-- 
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:31:37 GMT

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