Re: XHR: Unicode signature stripping

2010-10-29 Thread Anne van Kesteren
On Tue, 05 Oct 2010 05:25:20 +0200, Bjoern Hoehrmann derhoe...@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/



XHR: Unicode signature stripping

2010-10-04 Thread Bjoern Hoehrmann
Hi,

  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 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.

regards,
-- 
Björn Höhrmann · mailto:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/