Hi Vincent, Gerrit, Liam, Graydon,
Is it possible to use a different XML Catalog Resolver with BaseX? I’m referring specifically to the new XML resolver that Norm Tovey-Wash presented today at Declarative Amsterdam. The presentation recording is at https://www.youtube.com/watch?v=LBuqQG8io8k&ab_channel=DeclarativeAmster... and resolver is available at https://xmlresolver.org/ and https://github.com/xmlresolver/xmlresolver/.
A pity I didn’t attend Declarative Amsterdam (it has never been easier), but Norman’s promising contribution didn’t go unnoticed. It should now be possible to utilize his resolver if it’s found in the classpath [1,2] (I have additionally uploaded a Maven snapshot).
Your testing feedback is more than welcome. If the resolver is not used, it helps to start BaseX in debugging mode (-d, DEBUG=true, etc.). For example, you might need to add additional libraries to your classpath (unless you use Maven). Now as before, catalog files can be supplied via the CATFILE option, and additional resolver-specific properties can be set via system properties at startup time.
Christian
[1] https://github.com/BaseXdb/basex/commit/ee8a4a43d9ae474c8ea1276ff3ed1f1a0e2a... [2] https://files.basex.org/releases/latest-10/