Re: [VE][73] Error Message Feedback

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 UTC