NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 657 - legacy doctype causes validation error
legacy doctype causes validation error
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-25 13:13 CEST by Julian Reschke
Modified: 2009-11-23 17:17 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Reschke 2009-09-25 13:13:23 CEST

    
Comment 1 Julian Reschke 2009-09-25 13:14:30 CEST
Message:

-- snip --
Error: Legacy doctype. Expected e.g. <!DOCTYPE html>.

From line 1, column 1; to line 1, column 44

<!DOCTYPE HTML SYSTEM "about:legacy-compat">↩<html
-- snip --
Comment 2 Simon Pieters 2009-09-25 13:28:43 CEST
Doesn't happen when setting the parser to "HTML5".
Comment 3 Julian Reschke 2009-09-25 13:33:56 CEST
(In reply to comment #2)
> Doesn't happen when setting the parser to "HTML5".

Good catch.

Still not sure why it's an error when using automatic parser detection.