W3C home > Mailing lists > Public > www-validator@w3.org > July 2008

[VE][76] This message is preceded by nine useless messages

From: R.W. Crowl <silvermaplesoft@earthlink.net>
Date: Tue, 1 Jul 2008 00:46:28 -0400
Message-ID: <01cc01c8db35$a567ebe0$5b6c9c04@Dell2>
To: <www-validator@w3.org>

> Validating http://www.jtbusa.com/en/default.asp
> Error [76]: "element X undefined"

My problem is not with this error message; it seems to be adequate to the 
task.

Rather my problem is with the wasted effort and information with the 
preceding nine error messages that provide no actionable information because 
the problem lies with the element reported in this message. Of course 
there's no attribute X for an element that doesn't exist! Don't waste my 
time. It may even confuse other users who aren't so familiar with the 
validator or even the process of validation of code (compilers, etc.).

It even violates the general principle of cascading error messages, i.e., 
that the reported problem may be caused by a preceding error that confuses 
the error recovery system. In this instance it's impossible to fix a 
previously reported error because the error isn't reported until after the 
useless message.

While there will always be issues and arguments about proper error reporting 
and recovery, this one seems simple. Give me the actionable error only and 
ignore the others that we all know will automatically go away when the first 
is fixed. Skip to the next element and continue parsing.

R. W Crowl 
Received on Tuesday, 1 July 2008 04:55:18 GMT

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