W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

Re: XHR LC comments

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 17 May 2008 15:26:21 +0200
Message-ID: <482EDCFD.1090205@gmx.de>
To: Anne van Kesteren <annevk@opera.com>
CC: Maciej Stachowiak <mjs@apple.com>, Sunava Dutta <sunavad@windows.microsoft.com>, "Web API WG (public)" <public-webapi@w3.org>

Julian Reschke wrote:
> ...
> Data loss is not a "safe" choice, it's a bad choice.
> Do you have any evidence of deployed code that would break if this would 
> throw?
> ...

I just tried with FF3 and IE7.

Using a non-ns-wellformed document:

- FF3: happily sends it
- IE7: couldn't figure out how to create it (respect!)

Using an document that has no root element, but a single comment:

- FF3: happily sends it
- IE7: throws an exception

So, how is data loss a "safe" choice here???

BR, Julian
Received on Saturday, 17 May 2008 13:27:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:27 UTC