In article <1b32kv0nj1ayn$.
101eye36...@40tude.net>,
tlvp <
mPiOsUcB...@att.net> wrote:
> Jukka recently had occasion to admonish an org.w3c.validator participant:
>
> > The p element started on line 41 is terminated on line 43 by the <ul>
> > tag. A p element must not, by the syntax rules, contain a block element
> > like ul. The syntax allows end tag omission for the p element, so the
> > end is implied here; this can be described by saying that a <ul> tag
> > implies </p> before it, when there is an open p element. This leaves the
> > end tag </p> on line 51 homeless.
>
> Would it be possible to introduce a new box for someone submitting an HTML
> file for validation to tick, that will result in the validator reporting,
> each time it encounters a similarly superfluous end tag </whatever>, just
> where it sees the implicit end tag for the most recent prior matching start
> tag <whatever>, so that one may learn where one's coding, that one may have
> thought to have been "balanced", screwed up?
Perhaps "the implicit end tag for the most recent prior matching start
tag <whatever>" might not have an unequivocal answer.
To ask that the validator be more helpful is a big ask. Not saying it
is totally unreasonable to *wish* for it. Many already give
"warnings", you are asking for analysis.
<table>
<tr>
<td>...
</tr>
</td>
</table>
in some checkers in some programs you can get a simple
HTML Error (17, 13): The tag <td> is missing.
In others, you can get the perhaps more helpful
17: Element "<td>" implicitly closed here.
18: Close element "</td>" found but element wasn't open.
The immediate above is from what my BBEdit editor says.
So, there *are* more helpful facilities elsewhere. See Tidy as well.
But, imo, the W3C one should concentrate on being very focussed and
doing what it does best and not be distracted by complications in
order to be Mr. International Nice Guy. I like my W3C validator to be
tough, tall, brave, uncompromising, to make a clear-cut distinction
between good and evil, to be with the one and against the other and to
hold everyone else to account in a Bush-like way, one side or the
other, black or white, no pussyfooting about.
In fact, when there are no good films to be watched, nothing on TV, no
news about terrorists being hunted down, I turn to the W3C Validator
to see it in action, I like its style.
--
dorayme