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

Re: Entities (part of detailed review)

From: Thomas Broyer <t.broyer@gmail.com>
Date: Thu, 2 Aug 2007 16:51:38 +0200
Message-ID: <a9699fd20708020751i4fadd3a2j2ad192a988ca7e99@mail.gmail.com>
To: public-html@w3.org, "Ian Hickson" <ian@hixie.ch>

2007/8/2, Thomas Broyer:
>
> Proposed text for the "anything else" case's first three paragraphs of
> the 8.2.3.1 Tokenizing entities section:
> "Consume the maximum number of characters possible, with the consumed
> characters case-sensitively matching one of the identifiers in the
> first column of the entities[#entities0] table and either the next
> input character being a U+003B SEMICOLON (;) or the third column of
> the entities[#entities0] table indicating a recoverable missing
> semicolon for the matched entity name.
>
> If no match can be made, then this is a parse error. No characters are
> consumed, and nothing is returned.
>
> If the next input character is a U+003B SEMICOLON (;), consume it;
> otherwise, there is a parse error."

Hmm, of course, the special "entity in attribute" case needs to be
reworded too. Let's replace the latest paragraph above and beginning
of the fourth paragraph of the current draft with:
"If the next input character is a U+003B SEMICOLON (;), consume it.

Otherwise, there is a parse error and, if the entity is being consumed
as part of an attribute and the next input character is in the range
..."

-- 
Thomas Broyer
Received on Thursday, 2 August 2007 14:51:53 UTC

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