W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] XMLHttpRequest.responseXML and invalid XML documents

From: Hallvord Reiar Michaelsen Steen <hallvord@hallvord.com>
Date: Wed, 25 Jan 2006 20:54:43 +0900
Message-ID: <43D7E593.4425.1AE8BCD1@hallvord.hallvord.com>
On 22 Jun 2005 at 16:57, Hallvord Reiar Michaelsen Ste wrote:

> Spec says about responseXML : 
> > If the document was not an XML document, or if the document could
> > not be parsed (due to an XML well-formedness error or unsupported
> > character encoding, for instance), returns null.
> 
> All major browsers return an empty document instead under most of 
> these conditions.

If the document was not an
    XML document, or if the document could not be parsed (due to an 
XML
    well-formedness error or unsupported character encoding, for 
instance),
    returns an empty document.
-- 
Hallvord Reiar Michaelsen Steen
http://www.hallvord.com/
Received on Wednesday, 25 January 2006 03:54:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC