- From: Eric Chan <erchan2000@gmail.com>
- Date: Sat, 31 Jan 2009 05:41:47 -0500
- To: "www-validator-css@w3.org" <www-validator-css@w3.org>
Received on Saturday, 31 January 2009 19:59:53 UTC
I'm looking through the code because I'm having trouble setting up CSS Validator after downloading it from your website thru CSS. I compiled from source and everything seemed fine. When I launch the servlet, it keeps saying ResourceNotFound (validator.vm file). I noticed that we are using Velocity 1.6.1 in default mode (FileResourceLoader). However, the file validator.vm is stored in css-validator.jar, which is a JAR file. Shouldn't we be using JarResourceLoader for all this? Whenever the code in Velocity tries to access the validator.vm file in css-validator.jar, the "canRead()" API returns false. I have verified using IDE Java debug tool that it's not possible to access the validator.vm within css-validator.jar using the java File API. However, JarEntry (first getting the JarFile object) seems to be OK. Am i missing something here? Thanks.
Received on Saturday, 31 January 2009 19:59:53 UTC