Re: Parsing of HTML fragments

> > > If this WG adopts the WHATWG draft, I imagine this would be handled by
> > > the innerHTML parsing mode.
> >
> > Um, not necessarily. A feed consumer doesn't have to use innerHTML to
> > insert fragments into a given document. In fact, HTML fragments can be
> > delivered as XML nodes instead of CDATA.
> The "innerHTML parsing mode" isn't restricted to innerHTML; it's just a
> way to parse fragments with a particular context. You can use the
> algorithm described for innerHTML in the spec for other purposes, such as
> this one.

Right, this is what I had in mind.

Edward O'Connor

Received on Wednesday, 25 April 2007 00:04:29 UTC