Having problems with p:validate-with-relax-ng and Calabash

I get the following problem when using p:validate-with-relax-ng in a
pipeline:


[root@pal service-description]# ./bin/pipeline.sh
-oresult=results/java-client.atom -isource=examples/uploader.wadl
pipelines/service-description.xpl
Exception in thread "main" java.lang.NoClassDefFoundError:
org/iso_relax/verifier/VerifierConfigurationException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at com.xmlcalabash.runtime.XAtomicStep.run(XAtomicStep.java:275)
        at com.xmlcalabash.runtime.XPipeline.doRun(XPipeline.java:223)
        at com.xmlcalabash.runtime.XPipeline.run(XPipeline.java:130)
        at com.xmlcalabash.drivers.Main.run(Main.java:241)
        at com.xmlcalabash.drivers.Main.main(Main.java:65)
Caused by: java.lang.ClassNotFoundException:
org.iso_relax.verifier.VerifierConfigurationException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        ... 7 more


I have jing.jar on my class path and have also tried putting
isorelax.jar on there too but to no avail.

Any clues as to what I need to do to solve this?


I'm using Calabash 0.9.10 on Linux, and here is how I'm calling the
step:

<p:validate-with-relax-ng name="structure" assert-valid="true">
  <p:input port="source" sequence="false"/>
  <p:input port="schema">
    <p:document href="schemata/wadl20090202.rnc"/>
  </p:input>
</p:validate-with-relax-ng>



Regards

Philip Fennell

>XML Developer (The Forge)
>
>BBC Future Media & Technology
>Media Village, 201 Wood Lane London W12 7TP
>BC4 C4, Broadcast Centre
>
>T:	0208 0085318

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

Received on Tuesday, 2 June 2009 16:31:45 UTC