[whatwg] Parsing: Greater-than characters in doctype

All browsers terminate the doctype at the first ">" character, even if  
it's inside the public identifier or system identifier. I think the spec  
should reflect this by adding:

       Parse error. Set the DOCTYPE token's correctness flag to incorrect.
       Emit that DOCTYPE token. Switch to the data state.

...to the DOCTYPE public identifier (double-quoted), DOCTYPE public  
identifier (single-quoted), DOCTYPE system identifier (double-quoted), and  
DOCTYPE system identifier (single-quoted) states.

Simon Pieters

Received on Friday, 29 June 2007 01:59:55 UTC