W3C home > Mailing lists > Public > www-validator@w3.org > February 2009

Lack of clarity in DOCTYPE warning

From: Richard Ishida <ishida@w3.org>
Date: Thu, 19 Feb 2009 17:32:07 -0000
To: <www-validator@w3.org>
Message-ID: <016b01c992b7$fd600a50$f8201ef0$@org>
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.unicode.org%2Freports%2Ftr29%2F

The warning message says:

[[
The recommended System Identifier for HTML 4.0 Transitional is http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd.

The safest way to use a correct DOCTYPE declaration is to copy and paste one from the recommended list and avoid editing that part of your markup by hand.
]]



But the recommended list at http://www.w3.org/QA/2002/04/valid-dtd-list.html says:

[[
Authoring tools MUST NOT use the following list.

HTML 4.0
    http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd
    http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd
    http://www.w3.org/TR/1998/REC-html40-19980424/frameset.dtd
]]


I think the warning message should say something along the lines of 

"If you do want to use an HTML 4.0 DOCTYPE, use ..., however you should really use an HTML 4.01 doctype"

RI
Received on Thursday, 19 February 2009 17:32:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:34 GMT