Lack of clarity in DOCTYPE warning

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 UTC