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

Re: XHR and document.xmlEncoding

From: Alexey Proskuryakov <ap-carbon@rambler.ru>
Date: Fri, 24 Nov 2006 14:39:08 +0300
To: Anne van Kesteren <annevk@opera.com>
CC: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <C18CB48C.32B96%ap-carbon@rambler.ru>

On 11/24/06 2:14 PM, "Anne van Kesteren" <annevk@opera.com> wrote:

> 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).
>
>> 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's what the specification currently says. :-) What do you want?

  My suggestion was a bit less restrictive - I was just suggesting that the
XML declaration should match the actual encoding used for transmission, not
necessarily related to document.xmlEncoding, and not necessarily UTF-8.

  I think I like your suggestion more.

- WBR, Alexey Proskuryakov
Received on Friday, 24 November 2006 11:39:50 GMT

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