On Fri, 13 Jun 2008, Cameron McCormack wrote: > 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.
Ok, removed the requirement for documents. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
