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

Re: [XHR] SVG WG LC comments

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 13 Jun 2008 00:38:20 +0000 (UTC)
To: Jonas Sicking <jonas@sicking.cc>
Cc: public-webapps@w3.org, public-svg-wg@w3.org
Message-ID: <Pine.LNX.4.62.0806130036520.6527@hixie.dreamhostps.com>

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 GMT

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