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>

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

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"

Received on Thursday, 19 February 2009 17:32:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:58 UTC