Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


Steve Ferguson
I built the validator from the source and used the jigsaw.jar and  
xerces.jar from the current jigsaw distribution.

I've run into quite a few problems using the command line interface:
1. There is no css2.1 option.
2. text and html[.*] are the only output formats that seem to work.  
Using the -format lists many other output formats, but they all  
appear to be silently ignored.
3. HTML input handling is erratic, sometimes it produces a complete  
HTML document, sometimes a fragment (div), sometimes it crashes. For  
instance running it against http://www.w3.org/TR/REC-CSS2/intro.html 
         at org.w3c.css.util.Warning.<init>(Warning.java:95)
         at org.w3c.css.properties.css1.Css1Style.findConflicts
         at org.w3c.css.properties.aural.ACssStyle.findConflicts
         at org.w3c.css.parser.CssSelectors.findConflicts
         at org.w3c.css.css.StyleSheet.findConflicts(StyleSheet.java:
         at org.w3c.css.css.StyleSheetCom.notifyEnd
         at html.tags.HtmlParser.run(HtmlParser.java:239)
         at org.w3c.css.css.StyleSheetCom.htmlRequest
         at org.w3c.css.css.StyleSheetCom.main(StyleSheetCom.java:251)

I'm using java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232)
Java HotSpot(TM) Client VM (build 1.4.2-54, mixed mode) under Mac OS  
X 10.4.2

I can submit these at http://www.w3.org/Bugs/Public/ if that will help.

If you are interested in trying it out, the compiled distribution is  
at http://illumit.com/css-validator/

Is anyone else using the command line interface?

Steve Ferguson - Illumit <http://illumit.com>