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

[whatwg] Parsing - Tokenisation: Tag Open State: Handling <>

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 31 Jan 2006 18:07:41 +1100
Message-ID: <43DF0CBD.8090802@lachy.id.au>
Hi,
   When the parser encounters <>, the '<' switches to the tag open state 
and then the '>' immediately switches back to the data state, thus 
effectively ignoring them.  However, all browsers I tested (including 
IE, FF, Opera and Safari) actually omit <> as character data first.

Suggested change, within the Tag Open State:

U+003E GREATER-THAN SIGN (>)
     Easy parse error. Emit a U+003C LESS-THAN SIGN
     and U+003E GREATER-THAN SIGN character tokens.
     Switch to the data state.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Monday, 30 January 2006 23:07:41 UTC

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