[whatwg] [WebApps] Parsing: close tag open state

Ian Hickson ian at hixie.ch
Wed Jun 13 17:55:05 PDT 2007

On Sun, 16 Jul 2006, J. King wrote:
> When the content model flag is set to RCDATA or CDATA in the close tag 
> open state, the state machine is supposed to examine the next few 
> character, and if they match the last start tag, also examine the next 
> character to see if it matches whitespace.  If these conditions are not 
> true, then it is supposed to "Emit a U+003C LESS-THAN SIGN character 
> token, a U+002F SOLIDUS character token, and reconsume the current input 
> character in the data state."
> However, there is no current input character; all the state machine has 
> done so far is look ahead.  Shouldn't it simply emit the two character 
> tokens and switch to the data state?


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list