- From: Inigo Surguy <inigo.surguy@gmail.com>
- Date: Thu, 11 Nov 2010 17:20:41 +0000
- To: Chris Maloney <voldrani@gmail.com>
- Cc: xproc-dev@w3.org
Hi Chris, This is raised as Calabash issue http://code.google.com/p/xmlcalabash/issues/detail?id=56&q=jing - basically, you need to use jing-20091111 not jing-20081028. jing-20091111 is available from http://code.google.com/p/jing-trang/ Cheers Inigo On Thu, Nov 11, 2010 at 5:01 PM, Chris Maloney <voldrani@gmail.com> wrote: > I'm trying to set up Calabash to handle the <p:validate-with-relax-ng> using > jing. Under Windows, I just installed xmlcalabash-0.9.24 and > jing-20081028. > > I copied the "calabash.bat" file to my-calabash.bat, and changed added jing > to the classpath, as: > > @java -Xmx1024m -cp > "C:\bin\xmlcalabash-0.9.24\lib\calabash.jar;C:\bin\xmlcalabash-0.9.24\lib\commons-codec-1.3.jar;C:\bin\xmlcalabash-0.9.24\lib\commons-logging-1.1.1.jar;C:\bin\xmlcalabash-0.9.24\lib\commons-httpclient-3.1.jar;C:\bin\xmlcalabash-0.9.24\lib\saxon9he.jar;C:\bin\jing-20081028\bin\jing.jar" > com.xmlcalabash.drivers.Main %* > > Now I'm seeing this error > Nov 11, 2010 11:46:45 AM > com.xmlcalabash.util.DefaultXProcMessageListener info > INFO: Running pipeline multivalidate > Nov 11, 2010 11:46:46 AM > com.xmlcalabash.util.DefaultXProcMessageListener info > INFO: Running validate-with-xml-schema !1.3 > Nov 11, 2010 11:46:46 AM > com.xmlcalabash.util.DefaultXProcMessageListener info > INFO: MultiValidate.xpl:20:31:Validating with Xerces > Nov 11, 2010 11:46:46 AM > com.xmlcalabash.util.DefaultXProcMessageListener info > INFO: Running validate-with-relax-ng !1.4 > Exception in thread "main" java.lang.NoSuchFieldError: ERROR_HANDLER > at > com.xmlcalabash.library.ValidateJing.run(ValidateJing.java:101) > at com.xmlcalabash.runtime.XAtomicStep.run(XAtomicStep.java:389) > at com.xmlcalabash.runtime.XPipeline.doRun(XPipeline.java:231) > at com.xmlcalabash.runtime.XPipeline.run(XPipeline.java:129) > at com.xmlcalabash.drivers.Main.run(Main.java:305) > at com.xmlcalabash.drivers.Main.main(Main.java:78) > > This is different than the error I get if jing is not installed, or not in > the classpath, so I know that at least it's finding the jing validator > class. But I am not a Java programmer, so I don't know how to diagnose this > problem. Anybody run into this before, or could point me in the right > direction? > > Thanks! >
Received on Thursday, 11 November 2010 17:21:13 UTC