W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2008

Re: [XHR] SVG WG LC comments

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 13 Jun 2008 12:46:50 +1000
To: public-webapps@w3.org, public-svg-wg@w3.org
Message-ID: <20080613024650.GF3299@arc.mcc.id.au>

Jonas Sicking:
> > I wonder if this can be fixed in the HTML5 spec to say that when 
> > serializing a whole document, no xmlns="" attribute needs to be 
> > inserted.

That sounds like a good solution to me.

Ian Hickson:
> We still somewhat want them in that case too, in case the string is then 
> used to assign into an elemnet in another document:
> 
>    var s = doc.documentElement.innerHTML;
>    ...
>    someOtherElement.innerHTML = s;

But that’s serialising the document element, not the whole Document.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 13 June 2008 02:47:35 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:25 GMT