W3C home > Mailing lists > Public > www-validator@w3.org > May 2002

Undescriptive error message

From: Chris Sparrows <csparrows@clackamas.cc.or.us>
Date: Tue, 14 May 2002 15:00:40 -0400 (EDT)
Message-Id: <sce0fb8c.083@mailhost.clackamas.cc.or.us>
To: <www-validator@w3.org>
While validating a page recently I was presented with the following uninformative error message:

Error: X

By eliminating all other elements on the page I eventually found that the problem was that I had a <label> on a form that referenced a non-existent id attribute.

This error message should to be updated to: Label FOR attribute refers to non-existent ID, or something like that.

Thanks for your time.

Below is the html that triggered this error.
- begin html document -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html401/strict.dtd ">

<form method="post" action="/asp/sendmail.asp" enctype="multipart/form-data">
<label for="feedback">Feedback:</label>
<input type="text"></p>
<!--adding id="feedback" to the input tag fixes the error-->

- end html document -

Chris Sparrows
College Publications,
Clackamas Community College
No Job Title: I just "do web stuff"
503-657-6958 x2502
Received on Friday, 17 May 2002 02:50:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:27 UTC