W3C home > Mailing lists > Public > xproc-dev@w3.org > July 2010

Re: Xml catalogs and calabash

From: Erlend Hamnaberg <erlend@escenic.com>
Date: Tue, 20 Jul 2010 10:09:38 +0200
To: Romain Deltour <rdeltour@gmail.com>
CC: "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <1279613378.14625.3.camel@ltp-erha>
On Mon, 2010-07-19 at 14:32 +0200, Romain Deltour wrote:
> 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.
> 

I was able to get this working with your suggestion. Thanks.
Another tool in the toolbox ;)

I did not recompile calabash, just added it to my own source in a
separate jar.

-- 
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 Tuesday, 20 July 2010 08:42:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 20 July 2010 08:42:48 GMT