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 15:53:51 +0200
Message-ID: <a9699fd20708020653w7ea22c32ydd002834a0be1f44@mail.gmail.com>
To: public-html@w3.org, "Ian Hickson" <ian@hixie.ch>

2007/8/1, Thomas Broyer:
> >
> > Because of this, I think that there should be note clarifying why some
> > entities are presented twice in the table and pointing to an appropriate
> > part of parsing algorithm, probably Tokenising entities
> > (http://www.w3.org/html/wg/html5/#tokenising).
> Can someone remind me why this hasn't be done with a third "Is
> semi-colon required" column?

Proposed text for the "anything else" case's first three paragraphs of
the 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."

Thomas Broyer
Received on Thursday, 2 August 2007 13:54:13 UTC

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