Re: XMLHttpRequest.responseXML and invalid XML documents

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 UTC