Project

Profile

Help

saxon.net and resolvers - CatalogManager.properties

Added by Anonymous over 7 years ago

Morning

Does anyone know where the apache resolver would look for CatalogManager.properties when using .Net? One of our developers is trying to extend validation in one of our tools to use catalogs for resolution and isn't getting anywhere. He does see a message telling him that it's not found though.

thanks

nic gibson


Replies (4)

Please register to reply

RE: saxon.net and resolvers - CatalogManager.properties - Added by O'Neil Delpratt over 7 years ago

Hi Nic,

A solution to your problem is discussed in the following forum post: https://saxonica.plan.io/boards/3/topics/5992

The initial example should now work since we have addressed the problems discussed in the post. For example, you will need the following lines:

proc.SetProperty("http://saxon.sf.net/feature/uriResolverClass", "org.apache.xml.resolver.tools.CatalogResolver");
net.sf.saxon.trans.XmlCatalogResolver.setCatalog("resources/dtd/catalog-dita.xml", proc.Implementation, true);
...

RE: saxon.net and resolvers - CatalogManager.properties - Added by Anonymous over 7 years ago

Hi O'Neill

That looks like it would help with one of our issues. Does that mean we can't use the properties file to set the catalog for the apache resolver? We wanted to do this to allow catalogs to be set via CatalogManager.properties so that can a) configure them independently of the application and b) set tracing verbosity

thanks

nic

RE: saxon.net and resolvers - CatalogManager.properties - Added by O'Neil Delpratt over 7 years ago

Interesting question. Is it possible for you to send me a repo of what you are trying to do so that I can investigate further please.

RE: saxon.net and resolvers - CatalogManager.properties - Added by Anonymous over 7 years ago

I'll ask Chris - although he's probably seen the message already

nic

Nic Gibson, Precedents Content Architecture Lead 020-3364-4412 (Lexis House), 01273-930765 (WFH), 07718-9068917 (mobile), nicg.corbas (Skype)


From: Saxonica Developer Community Sent: 02 November 2016 12:05 Subject: [Saxon - Help - msg6596] RE: saxon.net and resolvers - CatalogManager.properties

    (1-4/4)

    Please register to reply