W3C home > Mailing lists > Public > www-validator@w3.org > September 2005

Error Message Feedback

From: Ed Cannon {cannone} <Ed.Cannon@mccombs.utexas.edu>
Date: Mon, 19 Sep 2005 18:19:24 -0500
Message-ID: <B9465CF40D1D4842ADF37999DFA75F671FF6C5@MAILBE.mccombs.utexas.edu>
To: <www-validator@w3.org>

Validating 

The validator told me "no doctype found", but the very first line of my
document was:

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

I was sure I had copied the doctype from somewhere on your site a long
time ago.  So I searched and found this one of yours:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

It took me a moment to notice the difference, that in the non-working
one it's "doctype" not "DOCTYPE".  I changed the case, and then it did
not give me that particular error message.

So my point in this feedback is that the validator should say in a case
like this "malformed doctype" rather than "no doctype found".  

I swear I copied and pasted my DTD from you guys some years ago.  Did
the case of the word "doctype" not matter at some time in the past?

Now I've got to update a hundred or so pages from "doctype" to
"DOCTYPE".  

Ed Cannon
Administrative Assistant
Department of Accounting
University of Texas at Austin
Received on Tuesday, 20 September 2005 04:12:41 GMT

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