W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] Parsing: Greater-than characters in doctype

From: Simon Pieters <zcorpan@gmail.com>
Date: Fri, 29 Jun 2007 10:59:55 +0200
Message-ID: <op.tuodx5e37a8kvn@hp-a0a83fcd39d2>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC