[whatwg] Parsing entities

Simon Pieters zcorpan at hotmail.com
Mon Aug 14 15:46:17 PDT 2006


Hi,

From: Ian Hickson <ian at hixie.ch>
> > I've read that several times. But it doesn't say that "i;" in "¬i;"
> > is going to be reparsed. ("noti" isn't an entity, but "not" and "notin"
> > are.)
>
>In "¬i;", 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 "¬".

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





More information about the whatwg mailing list