W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] innerHTML in XML

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 14 Jun 2007 22:06:03 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706142205300.30490@dhalsim.dreamhost.com>
On Fri, 27 Oct 2006, Anne van Kesteren wrote:
>
>  <foo>
>   <bar/>
>   <bar/>
>  </foo>
> 
> How can <foo>.innerHTML be well-formed here?

On Sat, 28 Oct 2006, Lachlan Hunt wrote:
>
> Anne van Kesteren wrote:
> >   <foo>
> >    <bar/>
> >    <bar/>
> >   </foo>
> > 
> > How can <foo>.innerHTML be well-formed here?
> 
> It could be if it were treated as an external parsed entity.

I've made the spec explicitly require that innerHTML return an XML 
namespace-well-formed internal general parsed entity representation.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 14 June 2007 15:06:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC