W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] Parsing entities

From: Simon Pieters <zcorpan@hotmail.com>
Date: Mon, 14 Aug 2006 22:46:17 +0000
Message-ID: <BAY109-F24BB86B3283BCB54E32F54B44E0@phx.gbl>

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 

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC