Re: XHR and document.xmlEncoding

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 UTC