Topic: Validation issue that makes no sense
I am having a strange problem and I don't know why it is happening.
On my new site when I click the http://validator.w3.org/referrer the site comes up with the following errors. It also says that there is no valid stylesheet. I know my site is XHTML 1.0 Strict! and my css files are in perfect. however, if I click the link again it shows up as valid and everything is normal. Could this also have something to do with the new changes to pun 1.2.16?
# Line 1, Column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>".
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0.1; URL=/">
?
The checked page did not contain a document type ("DOCTYPE") declaration. The Validator has tried to validate with a fallback DTD, but this is quite likely to be incorrect and will generate a large number of incorrect error messages. It is highly recommended that you insert the proper DOCTYPE declaration in your document -- instructions for doing this are given above -- and it is necessary to have this declaration before the page can be declared to be valid.
# Error Line 4, Column 6: end tag for "HEAD" which is not finished.</HEAD></HTML>
?
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
# Error Line 4, Column 13: end tag for "HTML" which is not finished.</HEAD></HTML>
?
Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>
Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Bingiman