Re: Number of error when EOF inside 'SYSTEM' or 'PUBLIC'

On Wed, 30 Apr 2008, Henri Sivonen wrote:
> 
> It appears (assuming the test cases are correct) that two parse errors 
> are required when EOF occurs inside 'SYSTEM' or 'PUBLIC' in doctypes. 
> This is silly. Let's make it one error.

Fixed. This also reduced the number of parser errors in the following:

   <!DOCTYPE HTML bogus EOF
   <!DOCTYPE HTML PUBLIC bogus EOF
   <!DOCTYPE HTML PUBLIC "bogus" bogus EOF
   <!DOCTYPE HTML PUBLIC "bogus" "bogus" bogus EOF

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

Received on Friday, 23 May 2008 09:07:24 UTC