[whatwg] Parsing entities

Hi,

From: Ian Hickson <ian@hixie.ch>
> > I've read that several times. But it doesn't say that "i;" in "&noti;"
> > is going to be reparsed. ("noti" isn't an entity, but "not" and "notin"
> > are.)
>
>In "&noti;", the "maximum number of characters possible" that
>"case-sensitively [match] one of the identifiers in the first column of
>the entities table" is "not".
>
>Thus you consume the "&", the three characters "not", and emit the
>character for "&not;".

Ok. So the "i" is not consumed, just peeked at. Only when you see "&notin" 
then you consume the "i" and "n" aswell. That was a bit unclear to me at 
first.

Regards,
Simon Pieters

Received on Monday, 14 August 2006 15:46:17 UTC