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

Lachlan Hunt lachlan.hunt at lachy.id.au
Mon Jan 30 23:07:41 PST 2006


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/




More information about the whatwg mailing list