W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

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

From: Philip Fennell <Philip.Fennell@bbc.co.uk>
Date: Tue, 2 Jun 2009 17:31:12 +0100
Message-ID: <F3685F4A877F284F8054E328390447D14C6EA6@bbcxues17.national.core.bbc.co.uk>
To: "XProc Dev" <xproc-dev@w3.org>
I get the following problem when using p:validate-with-relax-ng in a

[root@pal service-description]# ./bin/pipeline.sh
-oresult=results/java-client.atom -isource=examples/uploader.wadl
Exception in thread "main" java.lang.NoClassDefFoundError:
        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:
        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

<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"/>


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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:05 UTC