Project

Profile

Help

Getting resolver.jar working with Saxon 8.5

Added by Anonymous almost 18 years ago

Legacy ID: #3827175 Legacy Poster: nan00k (nan00k)

I've got Saxon 8.5 running on Mac OS X with java 1.5. I need to implement my catalog files, though, and I'm having difficulty getting Saxon to work with the resolver tools from Apache. I have installed resolver.jar in the /Library/Java/Extensions and created CatalogManager.properties in the same directory. /Library/Java/Extensions and /Library/Java/Extensions/resolver.jar are on my CLASSPATH. I've created a bash shell file, saxonR.sh, to execute the Saxon command line, the contents of which are ... java -cp "/Library/Java/Extensions/saxonb8-5/saxon8.jar:/Library/Java/Extensions/resolver.jar:/Library/Java/Extensions" net.sf.saxon.Transform -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -u $* so that I can invoke ... saxonR.sh [source.xml] [stylesheet.xsl] But when I do this, I get the following message: Cannot find CatalogManager.properties followed by run-time errors resulting from not being able to find the dtd in the public identifier. Can someone help me figure out how to get Saxon to find this properties file? Thanks. m./


Replies (1)

RE: Getting resolver.jar working with Saxon 8 - Added by Anonymous almost 18 years ago

Legacy ID: #3827496 Legacy Poster: Michael Kay (mhkay)

The Apache catalog resolver isn't part of Saxon, and this therefore isn't the right place to ask for support. Saxon has done its bit by calling the specified URIResolver. I can't see what's wrong with your classpath - but I don't know the Mac environment. Sorry I can't be more help. Saxon 8.5, by the way, is a few releases out of date, but that's not relevant to your problem.

    (1-1/1)

    Please register to reply