Re: css-validator inconsistency

Hi,

The validator wants to have some parameters commandline. As far as I see,
you have a recent validator checked out from CVS. Note that I have been
developing on it a lot recently, so there may be some things not working
correctly yet. Just try it! :-)

If you don't use any parameters at the commandline, it will indeed complain
with a 'usage' message. If you use the URI as an input, it will by default
validate as normal CSS2.

I think this is ok...

Sijtsche


----- Original Message -----
From: "Hans Christian Studt" <hcstudt@post10.tele.dk>
To: <www-validator-css@w3.org>
Sent: Sunday, January 12, 2003 8:43 PM
Subject: css-validator inconsistency


>
>
>
>
> Hi,
>
> I am using a Redhat linux 8.0 and the following java stuff
> /usr/local/java/j2re1.4.1_01
> /usr/local/java/j2sdk1.4.1_01
> /usr/local/java/j2sdkee1.4
>
> I have installed css-validator from the CVS and it seems to
> run - except the results are NOT consistent with the online
> validation at
> http://jigsaw.w3.org/css-validator/validator-uri.html
>
> This style sheet validates OK at jigsaw.w3.org
> www.studt.dk/w3c-validate.css
>
> When I run the locally installed css-validator from this directory
> /user/usr/local/w3c/2002/css-validator/css-validator
> #sh ./validator
> I get this output without an URI
> =====================================
> Usage: validator  [ -s || -e || -<your format> ||
> -cssversion/profile ] [<url>|<file>]*
>          -s      Show the validated style sheet
>          -e      Do NOT show warnings
>          use the option -format to see available format.
>          CSS version     -css1 || -css2 || -css3 || -svg ||
> -svgbasic || -svgtiny
>          Profile          -atsc || -mobile || tv
> =====================================
>
> When I run this
> #sh ./validator http://www.studt.dk/w3c-validate.css
> I get this output
> =====================================
> file : http://www.studt.dk/w3c-validate.css
>
> URI : http://www.studt.dk/w3c-validate.css
>   Line : 0 Context : *  in property : background-color
>          lightgreen is not a color value : lightgreen
>   Line : 0 Context : *  in property : background-color
>          #ddff99 is not a background-color value : #ddff99
>   Line : 0 Context : *  in property : background-color
>          #ffcc33 is not a background-color value : #ffcc33
>   Line : 0 Context : *  in property : background-color
>          #ff0000 is not a background-color value : #ff0000
>   Line : 0 Context : *  in property : background-color
>          lightgreen is not a color value : lightgreen
>   Line : 0 Context : *  in property : background-color
>          #ddff99 is not a background-color value : #ddff99
>   Line : 0 Context : *  in property : background-color
>          #ffcc33 is not a background-color value : #ffcc33
>   Line : 0 Context : *  in property : background-color
>          #ff0000 is not a background-color value : #ff0000
>   Line : 0 Context : *  in property : background-color
>          #e0e0e0 is not a background-color value : #e0e0e0
>   Line : 0 Context : *  in property : background-color
>          #ffffcc is not a background-color value : #ffffcc
>   Line : 0 Context : *  in property : background-color
>          #ffffcc is not a background-color value : #ffffcc
>   Line : 0 Context : *  in property : background-color
>          lightblue is not a color value : lightblue
>   Line : 0 Context : *  in property : background-color
>          #eeff99 is not a background-color value : #eeff99
>   Line : 0 Context : *  in property : color
>          #3366ff is not a color value : #3366ff
>   Line : 0 Context : *  in property : color
>          #ccffff is not a color value : #ccffff
>   Line : 0 Context : *  in property : color
>          #cc9933 is not a color value : #cc9933
>   Line : 0 Context : *  in property : border-top
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : border-bottom
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : border-left
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : border-right
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : background-color
>          #ffee33 is not a background-color value : #ffee33
>   Line : 0 Context : *  in property : color
>          #000000 is not a color value : #000000
>   Line : 0 Context : *  in property : background-color
>          #ffee33 is not a background-color value : #ffee33
>   Line : 0 Context : *  in property : color
>          #000000 is not a color value : #000000
>   Line : 0 Context : *  in property : background-color
>          #ff0000 is not a background-color value : #ff0000
>   Line : 0 Context : *  in property : background-color
>          pink is not a color value : pink
>   Line : 0 Context : *  in property : color
>          #ff0000 is not a color value : #ff0000
>   Line : 0 Context : *  in property : background-color
>          #66cc33 is not a background-color value : #66cc33
>   Line : 0 Context : *  in property : color
>          #000000 is not a color value : #000000
>   Line : 0 Context : *  in property : background-color
>          lightgreen is not a color value : lightgreen
>   Line : 0 Context : *  in property : color
>          #66cc33 is not a color value : #66cc33
>   Line : 0 Context : *  in property : color
>          #0000cc is not a color value : #0000cc
>   Line : 0 Context : *  in property : background-color
>          #66cc33 is not a background-color value : #66cc33
>   Line : 0 Context : *  in property : color
>          #ffffff is not a color value : #ffffff
>   Line : 0 Context : *  in property : background-color
>          #ffee33 is not a background-color value : #ffee33
>   Line : 0 Context : *  in property : color
>          #333333 is not a color value : #333333
>   Line : 0 Context : *  in property : background-color
>          #ff0000 is not a background-color value : #ff0000
>   Line : 0 Context : *  in property : color
>          #ffffff is not a color value : #ffffff
>   Line : 0 Context : *  in property : background-color
>          #336699 is not a background-color value : #336699
>   Line : 0 Context : *  in property : border-top
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : border-bottom
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : background-color
>          #336699 is not a background-color value : #336699
>   Line : 0 Context : *  in property : border-top
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : border-bottom
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : background-color
>          #336699 is not a background-color value : #336699
>   Line : 0 Context : *  in property : border-top
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : *  in property : border-bottom
>          Too many values or values are not recognized : 1px
> solid #333333
>   Line : 0 Context : TABLE  in property : BACKGROUND-COLOR
>          #336699 is not a background-color value : #336699
>   Line : 0 Context : TABLE  in property : COLOR
>          #ffffff is not a color value : #ffffff
>   Line : 0 Context : TABLE  in property : COLOR
>          #ffffff is not a color value : #ffffff
>
> Warnings :
>
>   URI : http://www.studt.dk/w3c-validate.css
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of background-color : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-family : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-family : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of font-family : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-size : body
> Line : 0 Level : 2 Redefinition of background-color : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of vertical-align : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of font-size : *
> Line : 0 Level : 2 Redefinition of font-weight : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of color : *
> Line : 0 Level : 2 Redefinition of text-align : *
> Line : 0 Level : 2 Redefinition of text-decoration : TABLE
> =====================================
>
> How can I get my local installation to give at result
> consistent with the one at
> http://jigsaw.w3.org/css-validator/validator-uri.html
> ???
>
> Maybe I need some additional files that defines CSS
> ???
>
> Regards
> --
> Hans Christian Studt  : http://hc.studt.dk  mailto:hc@studt.dk
> .dk og W3C standarder : http://w3c.studt.dk
>

Received on Tuesday, 21 January 2003 03:26:06 UTC