W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2007

multiple (command line) file validation aborts on first lexical error

From: Paul Arzul <paul.arzul@gmail.com>
Date: Sun, 18 Feb 2007 20:37:34 +0200
To: www-validator-css@w3.org
Message-ID: <op.tnyjcxt8tk5hmj@test>

hi,

when the first lexical error is reached, the validator aborts processing  
of subsequent files. this makes checking of multiple files more difficult.  
for example:

$ java -classpath jigsaw.jar:css-validator.jar  
org.w3c.css.css.CssValidator file:///tmp/first.css file:///tmp/second.css

file second.css isn't checked if there's a lexical error in file  
first.css. please list command line options at [1]. the command line usage  
at [1] is incorrect for stand-alone usage: it's missing the jigsaw  
dependency (see above example). please bundle.

in CssValidatoralidator.java[2], the command line help has an incomplete  
scheme for the file protocol. should perhaps read:

web resource (http://) or a local file (file://)");
                                               ^

thanks,

- p

--

1. Download and Install the CSS Validator
http://jigsaw.w3.org/css-validator/DOWNLOAD.html

2. CssValidatoralidator.java
http://dev.w3.org/cvsweb/~checkout~/2002/css-validator/org/w3c/css/css/CssValidator.java?rev=1.3&content-type=text/plain
Received on Monday, 19 February 2007 09:02:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:18 GMT