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

Re: XHR LC comments

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 18 May 2008 12:00:59 -0500
Message-ID: <483060CB.8030700@mit.edu>
To: Julian Reschke <julian.reschke@gmx.de>
CC: "Web API WG (public)" <public-webapi@w3.org>

Julian Reschke wrote:
> For this one I used Dom L1 methods to create this document:
>   <foo><x:y/></foo>
> which isn't XMLNS-wellformed.

I'm not sure I see the problem here, to be honest...  Using the 
non-namespace-aware DOM methods one can indeed create documents that require a 
non-namespace-aware XML parser to roundtrip.

Since the UA has no idea what sort of XML parser is being used on the server 
side, I'm not sure it makes sense to bail on attempts to serialize such 
documents.  In particular, if the document _is_ parsed with a 
non-namespace-aware XML parser, there is no problem.

Received on Sunday, 18 May 2008 17:01:54 UTC

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