W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: Parsing of HTML fragments

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 20 Jun 2007 00:07:19 +0000 (UTC)
To: Asbjørn Ulsberg <asbjorn@ulsberg.no>
Cc: Edward O'Connor <hober0@gmail.com>, public-html@w3.org
Message-ID: <Pine.LNX.4.64.0706200005410.16734@dhalsim.dreamhost.com>
On Wed, 25 Apr 2007, Asbjørn Ulsberg wrote:
> On Wed, 25 Apr 2007 02:04:23 +0200, Edward O'Connor <hober0@gmail.com> wrote:
> > > 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.
> If the section of "Web Applications 1.0" we are talking about is the 
> following:
> <http://www.whatwg.org/specs/web-apps/current-work/#innerhtml0>
> would it not be suitable to actually make this a proper section (with a 
> header and all) and call it "HTML Fragment Parsing Algorithm" or 
> something similar, so it more easilly can be referenced in other parts 
> of the specification as well as from other specifications?
> Releasing the section from the 'innerHTML' wording makes it (look) more 
> generic. Although the algorithm is the same, I think it would serve well 
> to keep the naming generic to allow for generic references to the 
> section from other specifications.

Done. I'm sure this introduced some errors, so I'll be fixing things over 
the next few days as I see them. If anyone spots any problems with these 
changes, please let me know. (One thing I haven't done is renamed the 
"innerHTML case" term, but I'll do that shortly.)

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 20 June 2007 00:07:30 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:22 UTC