Re: Calabash and resolvers

Hi Nic,

You might already be doing this, but Calabash should be called with -E
and -U flags when you want to use a catalog resolver:

-E org.apache.xml.resolver.tools.CatalogResolver -U
org.apache.xml.resolver.tools.CatalogResolver

The only other suggestion I can think of is to make sure that
directory containing CatalogManager.properties is in your classpath.

Hope this helps,

-James

On Tue, Apr 27, 2010 at 10:45 AM, Nic Gibson <nicg@corbas.net> wrote:
> Hi
>
> I'm relatively new to XProc and I've just tried to process a series
> of files that reference DTDs. Up until now I've been working with documents
> that are validated using RELAX NG so I've not had to resolve anything.
>
> I'm seeing errors that suggest that I'm setting up the resolvers wrongly
> as Saxon is complaining about being unable to find the DTDs. I've got
> catalogs set up and I know that they work when I'm using them with simple
> XSLT transforms and Saxon but I seem to have missed something doing this
> using Calabash.
>
> So... how should I be configuring a resolver in this case? I guess I need
> to be doing whatever is done differently when using oXygen for this as that
> works just fine. Um, help?
>
> cheers
>
> nic
>
>
>

Received on Wednesday, 28 April 2010 14:41:48 UTC