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

Re: XHR and document.xmlEncoding

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sun, 26 Nov 2006 18:46:29 -0600
Message-ID: <456A3565.4050205@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: "Web APIs WG (public)" <public-webapi@w3.org>

Anne van Kesteren wrote:
> Yeah, sounds like it. My suggestion would be to require that the XML 
> Declaration be dropped. Or, if present, is set to UTF-8 (which is the 
> encoding anyway).

Actually, just making the encoding match the XML declaration, if one is present, 
would be a lot easier...

>> Perhaps, the requrement could be that the document should be encoded 
>> to be valid - i.e. if an XML declaration is present, it should match
>> the actual encoding?

That would be ideal.  ;)

-Boris
Received on Monday, 27 November 2006 00:46:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT