Re: [XHR] SVG WG LC comments

On Thu, 12 Jun 2008, Jonas Sicking wrote:
> 
> 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.

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;

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 13 June 2008 00:39:05 UTC