Re: XMLHttpRequest.responseXML and invalid XML documents

On Apr 26, 2006, at 5:43 PM, Jonas Sicking wrote:

>
> Ian Hickson wrote:
>> 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.
>
> This, unfortunately, strays from the stated goal of specifying  
> "what works". I guess we should discuss at some point if we want to  
> keep that goal or not.

I'd propose that handling HTML should be an XHR 2.0 feature.

Regards,
Maciej

Received on Thursday, 27 April 2006 00:52:50 UTC