This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
""" Launching the tester gives me the next warning org.w3c.css.util.Messages: couldn't load properties en java.io.FileNotFoundException: \file:\C:\Proyectos\mobileok-ref\lib\css-validator.jar!\org\w3c\css\util\Messages.properties.en (El nombre de archivo, directorio o etiqueta del volumen no es vĂ¡lido) for all messages files. Digging a bit through org.w3c.css.util.Messages.java code I reached where locales are inicialized and messages files loaded. In order to load a messages file the URL pointing at it is cleaned through adjustURL method. This method doesn't consider file:/ (with only one slash '/') option so I ended with an URL as file:///file:/...... After modifying this class so adjustURL method is not used and replacing the css library and I managed to launch ContentFormatSupportTest 7 with success. """ http://lists.w3.org/Archives/Public/public-mobileok-checker/2008Mar/0034.html
Created attachment 615 [details] Removes Messages.adjustURL Removes Messages.adjustURL, which breaks when running css-validator.jar from the command line. Fixes from http://lists.w3.org/Archives/Public/www-validator-css/2008Nov/0027.html and http://lists.w3.org/Archives/Public/www-validator-css/2008Nov/0018.html
Patch applied in latest revision. Please update and give it a try. [[ > ant jar > java -jar css-validator.jar http://www.w3.org ]]
Works for me. Thanks!