This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
When a css file is checked and found correct, the displayed html to add a "W3C CSS" image to the page using the correct CSS is not valid xhtml 1.0 I suppose that as it is valid html, users should just be warned to properly close the tag when using xhtml 1.0 rather than correcting the current html script to make it xhtml 1.0
The relevant code is somewhere around http://dev.w3.org/cvsweb/2002/css-validator/org/w3c/css/css/ and as far as I can tell, the current code ties the "default" (as in non html or xhtml specific) message to either of the specific ones (that is, ties to [x]html.properties.lang). CssParser.java: * StyleSheetGenerator.setDocumentBase("html.properties"); I am patching both html.properties and xhtml.properties to include a warning about "the other".