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

Re: [VE][246] Error Message Feedback

From: Olivier Thereaux <ot@w3.org>
Date: Fri, 9 Jul 2004 17:40:44 +0900
To: Andrew Mack <andrewmack@verizon.net>
Cc: www-validator@w3.org
Message-ID: <20040709084043.GA28868@w3.mag.keio.ac.jp>

Hello Andrew.

On Tue, Jul 06, 2004, Andrew Mack wrote:
> May I ask, how do I fix this? My head tag is closed!

You may *not* ask... us to guess without even a bit of context, the
address for the document that fails validation, what kind of document
(doctype) it is, without quoting the error you actually are receiving,
etc. :)

But let me, nevertheless, venture a guess: you are using a document
type for which the end tag for the <head> element is not optional, and
yet you wrote in <head> content that legally can only be in the <body>.
So the validator parser's thinks it's now in the <body>, but hey wait,
<head> should be closed if I'm in the body (even though maybe you close
it later, but that's too late!)

Advice: check what markup is around the line the validator refers to. 
That's where your culprit is.

... but of course, this is just a guess, since you are not helping us
help you... If you'd forgive the tongue-in-cheek tone of my answer and
give us the details we need, I am sure someone on this list will give
you a helping hand, or (perhaps) acknowledge that you found a bug.

Generally speaking, the validator does have a few bugs, but in a HTML
fight between the validator and you, the odds are against you. If
however you ask nicely (e.g by setting options such as "parse tree"),
it will be nice in return and explain what its understanding of your
document is.

Received on Friday, 9 July 2004 04:40:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:43 UTC