This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The URL provided may not persist. Sorry, I was playing around. If a page validates as CSS without any errors or warnings, the line saying so is invalid XHTML '<hr><h2>No error or warning found</h2>', but the dctype is XHTML. reports: This page is not Valid XHTML 1.0 Strict! Line 21, column 4: end tag for "hr" omitted, but OMITTAG NO was specified <hr><h2>No error or warning found</h2> Also, character encoding is not given in the validator output page. http://validator.w3.org/check?uri=http%3A%2F%2Fjigsaw.w3.org%2Fcss-validator% 2Fvalidator%3Furi%3Dhttp%253A%252F%252Fwww.w3.org%252FStyleSheets%252Fhome.css% 26warning%3D1%26profile%3Dcss2 reports: I was not able to extract a character encoding labeling from any of the valid sources for such information. Without encoding information it is impossible to validate the document.
The following files use <hr> where they should use <hr />: 2002/css-validator/org/w3c/css/css/html.properties.en 2002/css-validator/org/w3c/css/css/xhtml.properties.en 2002/css-validator/validator-upload.html.ja of which I think the second is the particular culprit here. This should be a quick fix. What form do you want patches in?
Fixed in CVS. Thanks for your report.
Also the page showing the erros in your validated css is not valid. The <ul> never gets closed.
I changed the "URL" field to http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.w3.org%2F The error no longer appears. I'm resolving as "FIXED".
Ran Ari-Gur's comment 1 is illuminating. String manipulation is the wrong paradigm for markup, especially in an object-oriented language like Java. The validator should construct an infoset and then serialize the infoset for transmission.