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

Re: XMLHttpRequest.responseXML and invalid XML documents

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 26 Apr 2006 17:43:04 -0700
Message-ID: <44501398.3010806@sicking.cc>
To: Ian Hickson <ian@hixie.ch>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "Hallvord R. M. Steen" <hallvord@opera.com>, public-webapi@w3.org

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.

/ Jonas
Received on Thursday, 27 April 2006 00:43:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC