This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I have validated the page both in the CSS validator, with just the CSS source file (hence i dare put the Valid CSS link on my page), and with the xHTML validator (http://validator.w3.org/) It both validates, but when i use the validator from /check/referer, it will generate this error: Target: http://forum.joelsplace.sg/index.php Please, validate your XML document first! Line 187 Column 324 Element type "null" must be followed by either attribute specifications, ">" or "/>". I've looked through the source code - looks beautiful (not literally) - no errors. This has been bugging me for quite a while now...
Yes, the validator notes in the results that it has only limited support for XML and this is one of the known limitations. You can find more limitations from http://www.websitedev.de/markup/validator/tests/
(In reply to comment #1) > Yes, the validator notes in the results that it has only limited support for > XML and this is one of the known limitations. You can find more limitations > from http://www.websitedev.de/markup/validator/tests/ Does that means that i can still have the "Valid CSS" thing on my page? Do I just directly link to the URI of my source CSS file?
<p> <a href="http://jigsaw.w3.org/css-validator/"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"> </a> </p> the <img> tag is not closed. Add a space then / before the > and that will resolve the issue.
To be a little more specific the code should look like: <p> <a href="http://jigsaw.w3.org/css-validator/"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" /> </a> </p>
The CSS validator already detects if the validated document is XHTML, and ends the img element with "/>" if it is. For non-XHTML documents it uses the plain ">" which is the right thing to do. Compare for example: http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org&usermedium=all http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yahoo.com&usermedium=all
See also the note in parenthesis below the code in question in the results page.
Note that the bug was about some XML syntax error in the document the Validator was unable to detect, like adjacent attribute specifications and such. I'm not sure why it's still open, or what comment #3 is about...
ditto bjoern, - the initial report was about a problem in the markup validator, which we know about - later comments are about something different, and Ville explained properly why it is a non issue. closing.