Re: Xml catalogs and calabash

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 UTC