This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21052 - NU reports the obsolete permitted DOCTYPE-s as "bogus" and "error", which they are not
Summary: NU reports the obsolete permitted DOCTYPE-s as "bogus" and "error", which the...
Status: NEW
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL: http://tinyurl.com/ax73tph
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-19 22:26 UTC by Leif Halvard Silli
Modified: 2013-02-19 22:26 UTC (History)
0 users

See Also:


Attachments

Description Leif Halvard Silli 2013-02-19 22:26:50 UTC
HTML5 says:

]] A DOCTYPE containing an obsolete permitted DOCTYPE string is an obsolete permitted DOCTYPE. Authors should not use obsolete permitted DOCTYPEs, as they are unnecessarily long. [[

http://www.w3.org/TR/html5/syntax.html#obsolete-permitted-doctype

Thus is is no error to use the obsolete permitted DOCTYPE variants that HTMl5 lists

http://www.w3.org/TR/html5/syntax.html#obsolete-permitted-doctype-string

However, despite that it is no error, the NU validator reports them as bogus errors.

Please fix by changing the message from an error message to a warning message, similar to the warning message for a border="0" attribute on the <img> element: http://tinyurl.com/b58gtf7

(If you disagree with HTML5 making it conforming, please file a bug.)