[whatwg] innerHTML in XML

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