Debugging XML catalog with BaseX 10.7

Thursday, 23 November 2023 · 1 message
AB
Andy Bunce23 Nov 2023 17:20 #

Hi,

I am following the guide at [1] with the aim of loading some XML with a variety of DTD doctypes.

I have a catalog.xml set (which works in another app) and in lib/custom I have

- saxon-he-10.9.jar - xmlresolver-5.2.2-data.jar - xmlresolver-5.2.2.jar - xmlresolver.properties

It is not working as I hoped. Is there a way to get debug info from xmlresolver to a file without going to the Java level?

The guide says "You must configure your environment with an appropriate logging backend." [2] I guess this is about SLF4J <http://www.slf4j.org/> but I have no experience here.

/Andy

[1] https://docs.basex.org/wiki/Catalog_Resolver [2] https://xmlresolver.org/ch06#xml.catalog.defaultLoggerLogLevel


⚡Generated with XQuery