Re: [VE][246] Error Message Feedback

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.



Cheers, 
-- 
olivier

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