Re: [XHR] SVG WG LC comments

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 UTC