On Thu, 2021-11-04 at 18:43 -0400, Graydon Saunders wrote:
Hi Christian --
It will probably be the case that I'm going to want to run the transform with either Saxon-EE or Saxon-PE when both are available.
My memory of the code is that BaseX keeps a cache of compiled stylesheets; if that's the case, it will probably need to keep that cache on a per-processor basis. The bin/basexserver command does pass CLASSPATH on to Java.
Related to this, setting the catalog for use by xslt:transform() is defeating me.
The only ways i have found to debug these are (1) with strace -f, to make sure the file is being read (2) with a CatalogManager.properties file [[ verbosity=65535 # relative-catalogs=false prefer = public catalogs=mycataloguefile.xml ]] Likely you need entries in the catalog file starting with file:/// If you are uploading queries to a BaseX server, remember it's the server that needs to have had XLASSPATH set when starting, and that relativeURIs like "catalog.xml" might be sought for in the server's directory. Liam
-- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org