- From: Steve Ferguson <stevef@illumit.com>
- Date: Thu, 1 Dec 2005 20:33:36 -0800
- To: www-validator-css@w3.org
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 causes: java.lang.NullPointerException at org.w3c.css.util.Warning.<init>(Warning.java:95) at org.w3c.css.properties.css1.Css1Style.findConflicts (Css1Style.java:2961) at org.w3c.css.properties.aural.ACssStyle.findConflicts (ACssStyle.java:432) at org.w3c.css.parser.CssSelectors.findConflicts (CssSelectors.java:595) at org.w3c.css.css.StyleSheet.findConflicts(StyleSheet.java: 172) at org.w3c.css.css.StyleSheetCom.notifyEnd (StyleSheetCom.java:320) at html.tags.HtmlParser.run(HtmlParser.java:239) at org.w3c.css.css.StyleSheetCom.htmlRequest (StyleSheetCom.java:63) 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? Sincerely, Steve Ferguson - Illumit <http://illumit.com>
Received on Friday, 2 December 2005 05:02:29 UTC