[whatwg] innerHTML in XML

Ian Hickson ian at hixie.ch
Thu Jun 14 15:06:03 PDT 2007


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list