- From: olivier Thereaux <ot@w3.org>
- Date: Sun, 21 Nov 2004 11:27:44 +0900
- To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
- Cc: www-validator@w3.org
Received on Sunday, 21 November 2004 02:27:55 UTC
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