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

Re: Endless errors about correct lines following an incorrect one.

From: Nick Kew <nick@webthing.com>
Date: Sat, 31 Jan 2004 10:17:13 +0000 (GMT)
To: incerti auctoris <incertia@hotmail.com>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.53.0401311012590.2272@hugin.webthing.com>

> 1. With Anchor Tags:
>
> When I have a line like:
> <A>Missing closing tag.
>
> Subsequent correct lines like;
> <A>... </A>
> Throw up more errors.

You're still inside the first <A>, so that's an error.

> <H2>Headings Tags Erroneously of Different Levels</H3>
> Correctly points out as:
> Line 162, column 57: end tag for element "H3" which is not open.
> Line 1382, column 6: end tag for "H2" omitted,

So the entire document from line 162 to line 1382 is inside <h2>.

> Line 164, column 3: document type does not allow element "H3" here;
> missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.
>   <H3>Scope</H3>

That's not a good error message (other validators give you something
better for that).  But what it means is that any of those elements
is allowed in <h2>, and <h3> is allowed in any of those elements.
Note that "allowed" here doesn't mean that it makes sense.

-- 
Nick Kew
Received on Saturday, 31 January 2004 05:17:59 GMT

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