Re: Entities (part of detailed review)

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