Re: XMLHttpRequest.responseXML and invalid XML documents

2006-04-25 Thread Ian Hickson
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

Re: XMLHttpRequest.responseXML and invalid XML documents

2006-04-24 Thread Boris Zbarsky
Anne van Kesteren wrote: That bug talks about making the document empty, instead of returning null as the specification says. Those comments predate the specification, no? Is it the plan to follow what the specification says or does it need to be changed for the above reason for example?