W3C home > Mailing lists > Public > www-validator@w3.org > November 2004

Re: [VE][73] Error Message Feedback

From: olivier Thereaux <ot@w3.org>
Date: Sun, 21 Nov 2004 11:27:44 +0900
Message-Id: <ED18B734-3B64-11D9-948A-000A95E54002@w3.org>
Cc: www-validator@w3.org
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>

On Nov 21, 2004, at 4:51, Jukka K. Korpela wrote:
> On Fri, 19 Nov 2004, Nick Kew wrote:
>> The difficulty is that if you put that in for HEAD, it will also 
>> appear
>> when the same message is generated from another element.  It doesn't
>> make sense as an explanation for
>>     end tag for "UL" which is not finished
>> due to an absence of <li>s in a list!
>
> But doesn't the validator "know" what it expects as required content? 
> How
> else could it report the error?

Because the "validator" reports (and enhances, adds explanations as 
much as possible, etc) errors it receives from its parser. The parser, 
yes, "knows" what it expects as required content, but for the validator 
it is mostly a black box.

-- 
olivier

Received on Sunday, 21 November 2004 02:27:55 GMT

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