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

Re: Parsing of HTML fragments

From: Asbjørn Ulsberg <asbjorn@ulsberg.no>
Date: Wed, 25 Apr 2007 18:20:29 +0200
To: "Edward O'Connor" <hober0@gmail.com>, public-html@w3.org
Cc: "Ian Hickson" <ian@hixie.ch>
Message-ID: <op.trck0fn25rel5w@quark>

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.

-- 
Asbjørn Ulsberg           -=|=-        asbjorn@ulsberg.no
«He's a loathsome offensive brute, yet I can't look away»
Received on Wednesday, 25 April 2007 16:17:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:43 UTC