- From: Romain Deltour <rdeltour@gmail.com>
- Date: Mon, 19 Jul 2010 14:32:11 +0200
- To: xproc-dev@w3.org
I'm not an authoritative source of information for Calabash but we have the same needs and I found no straight workaround. You would have to modify Calabash's code to set a URIResolver to Jing in the p:validate-with-rng step implementation. For instance by adding the following code in ValdiateJing#run() method: properties.put(ValidateProperty.URI_RESOLVER, runtime.getResolver()); If you do not want to recompile Calabash, it should be possible to merely copy and modify this single step implementation, package it in its own jar, and declare it in a <cc:implementation> element of the configuration file to override Calabash's default implementation. Hope this helps, Romain. Le 19 juil. 10 à 12:19, Erlend Hamnaberg a écrit : > I am trying to embed Calabash in a tool suite which uses xproc, and we > want to be able to validate the produced xml with relax-ng. > > We have included these rng files in a .jar file which is deployed with > the application, but we are unable to get hold of these, because the > current implementation does not pass on the configured catalog > resolver > to Jing. > > This really looks like: > http://code.google.com/p/xmlcalabash/issues/detail?id=90 > > Are there any known workarounds for this? > > > -- > Erlend Hamnaberg > Systems developer + 47 908 26 329 (Mobile) > Escenic AS + 47 950 73 440 (switchboard) > Sommerogt. 13-15 Solli + 47 22 56 32 16 (fax) > N-0255 OSLO http://www.escenic.com/ > NORWAY > > > >
Received on Monday, 19 July 2010 12:32:47 UTC