Re: Problems with setting up css-validator

On Tue, Jan 20, 2009 at 03:57:41PM +0100, Jean-Guilhem Rouel <jean-gui@w3.org> wrote:
> [[
> $ java -version
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
> ]]
> 
> I've added source="1.5" and target="1.5" to build.xml (there shouldn't 
> be any 1.6 feature in the code).

Fine, now it builds for me out of the box! :)

A question regarding the output:

The online version at jigsaw.w3.org says something like "This document
validates as CSS level 2.1 !"

The version I built says:

[[
$ java -jar css-validator.jar http://www.w3.org/
{output=text, medium=all, warning=2, profile=css21, lang=en}
W3C CSS Validator results for http://www.w3.org/

    Congratulations! No Error Found.

This document validates as !
]]

It seems the info string "CSS level 2.1" (or similar) is just omitted.
Is this a known problem?

Thanks.

Received on Tuesday, 20 January 2009 15:14:40 UTC