[whatwg] XMLHttpRequest.responseXML and invalid XML documents

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