Re: XHR: Unicode signature stripping

On Tue, 05 Oct 2010 05:25:20 +0200, Bjoern Hoehrmann <derhoermi@gmx.net>  
wrote:
>   In http://www.w3.org/TR/2010/CR-XMLHttpRequest-20100803/ section
> 3.7.5. does not explicitly call out that the bytes corresponding to
> the Unicode signature are treated as Unicode signature and are thus
> stripped from the input. It should.

I am just going to treat this as an editorial oversight and fix it in the  
editor's draft without opening a bug for it as I did with the larger  
errors. I hope that is okay.


> I do note that failing to discriminate between types that allow for
> a Unicode signature and types that do not creates interoperability
> problems. application/json for instance prohibits using it, and as
> a consequence many parsers reject it, whereas using it would appear
> to work fine in "AJAX" setups.

There are similar such issues already, indeed.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Friday, 29 October 2010 13:06:57 UTC