saxon-pe-10.6.jar is in lib/custom. If you unzip catalog_test.zip and set the catalog location by a pragma around xsl.xq or by
set BASEX_JVM="-Dorg.basex.catalog=../catalog_test/xmlcatalog/catalog.xml"
prior to invoking basexgui.bat or bin\basex.bat ..\catalog_test\xsl.xq, you will get an exception
Improper use? Potential bug? Your feedback is welcome:
Contact: [basex-talk@mailman.uni-konstanz.de](mailto:basex-talk@mailman.uni-konstanz.de)
Version: BaseX 10.4
Java: Eclipse Adoptium, 17.0.4.1
OS: Windows 11, amd64
Stack Trace:
javax.xml.catalog.CatalogException: JAXP09040002: No match found for href 'other.xsl' and base 'file:/C:/Users/user/Dev/catalog_test/xsl/imported.xsl'.
…
If I use Norm’s resolver by putting xmlresolver-5.1.1.jar and xmlresolver-5.1.1-data.jar into lib/custom, I get the expected result.
<result status="ok"><doc>other.xsl was imported!</doc></result>
Reported by Gerrit Imsieke on the mailing list, https://www.mail-archive.com/basex-talk@mailman.uni-konstanz.de/msg15152.html:
saxon-pe-10.6.jar
is inlib/custom
. If you unzip catalog_test.zip and set the catalog location by a pragma around xsl.xq or byprior to invoking
basexgui.bat
orbin\basex.bat ..\catalog_test\xsl.xq
, you will get an exceptionIf I use Norm’s resolver by putting
xmlresolver-5.1.1.jar
andxmlresolver-5.1.1-data.jar
intolib/custom
, I get the expected result.