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

Re: Processing of &prod_id= in attributes

From: Adam Barth <w3c@adambarth.com>
Date: Tue, 29 Jun 2010 13:35:25 -0700
Message-ID: <AANLkTikC4xcxQQN-K7jEsnVgl-H2hpS8ALxf4FOFG4eS@mail.gmail.com>
To: Philip Taylor <pjt47@cam.ac.uk>
Cc: Henri Sivonen <hsivonen@iki.fi>, HTML WG <public-html@w3.org>
Ah, thanks.  I missed that subtlety.

Adam


On Tue, Jun 29, 2010 at 11:41 AM, Philip Taylor <pjt47@cam.ac.uk> wrote:
> Adam Barth wrote:
>>
>> [...]
>> Recall that &prod; is an HTML entity.  According to my reading of
>>
>> <http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#tokenizing-character-references>,
>> we ought to consume the "&prod" in an attribute as a named entity.
>
> You ought to consume characters matching one of the identifiers in the first
> column of the named character references table
> <http://whatwg.org/html#named-character-references>.
>
> That table includes "prod;" but not "prod", so you should never consume just
> "prod".
>
>> Notice, however, that when we use &pound; in a similar way, Minefield
>> does consume "&pound" as a named entity:
>
> The table includes both "pound;" and "pound", so it can be consumed when the
> semicolon is missing.
>
> --
> Philip Taylor
> pjt47@cam.ac.uk
>
Received on Tuesday, 29 June 2010 20:36:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:18 UTC