- From: Costello, Roger L. <costello@mitre.org>
- Date: Sat, 18 Jul 2009 13:32:32 -0400
- To: "xproc-dev@w3.org" <xproc-dev@w3.org>
Hey Norm, I think there's something wrong with Calabash invoking jing. Here's my pipeline: <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"> <p:input port="source"> <p:document href="BookStore.xml" /> </p:input> <p:output port="result"/> <p:validate-with-relax-ng> <p:input port="schema"> <p:document href="BookStore.rng" /> </p:input> </p:validate-with-relax-ng> </p:declare-step> Here's BookStore.xml <?xml version="1.0"?> <BookStore> <Book> <Title>My Life and Times</Title> <Author>Paul McCartney</Author> <Date>1998</Date> <ISBN>1-56592-235-2</ISBN> <Publisher>McMillin Publishing</Publisher> </Book> <Book> <Title>Illusions The Adventures of a Reluctant Messiah</Title> <Author>Richard Bach</Author> <Date>1977</Date> <ISBN>0-440-34319-4</ISBN> <Publisher>Dell Publishing Co.</Publisher> </Book> <Book> <Title>The First and Last Freedom</Title> <Author>J. Krishnamurti</Author> <Date>1954</Date> <ISBN>0-06-064831-7</ISBN> <Publisher>Harper & Row</Publisher> </Book> </BookStore> Here's BookStore.rng <?xml version="1.0" encoding="UTF-8"?> <element name="BookStore" xmlns="http://relaxng.org/ns/structure/1.0"> <oneOrMore> <element name="Book"> <element name="Title"> <text/> </element> <element name="Author"> <text/> </element> <element name="Date"> <text/> </element> <element name="ISBN"> <text/> </element> <element name="Publisher"> <text/> </element> </element> </oneOrMore> </element> Here's the error I get when I run the pipeline: Exception in thread "main" java.lang.NoSuchFieldError: ERROR_HANDLER at com.xmlcalabash.library.ValidateJing.run(ValidateJing.java:99) at com.xmlcalabash.runtime.XAtomicStep.run(XAtomicStep.java:371) at com.xmlcalabash.runtime.XPipeline.doRun(XPipeline.java:228) 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) /Roger
Received on Saturday, 18 July 2009 17:33:07 UTC