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

[whatwg] XMLHttpRequest.responseXML and invalid XML documents

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 31 Jan 2006 18:59:00 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0601311857340.2856@dhalsim.dreamhost.com>
On Tue, 31 Jan 2006, Hallvord Reiar Michaelsen Steen wrote:
> 
> Suggest removing the unsupported character encoding statement from this 
> sentence. The spec should say that when an unknown character encoding is 
> used the UA should assume UTF-8 and move on with parsing.

Absolutely not. That would violate the XML specifications.


> This is what Opera and FireFox do (consistently) and what IE does but 
> only for responseText. IE creates an empty responseXML document if 
> charset is unknown.

What IE does is much closer to correct here.


(I've saved off your e-mail for when I eventually look at XMLHttpRequest 
again, but I wanted to respond to the above straight away since it affects 
important aspects of browser conformance.)

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 31 January 2006 10:59:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC