I have a 3rd party jar which is open source, which has no startup eligible classes.
The classes I need to use have class names (not package name) that are all lower case.  This seems to be a problem for BaseX.
So, I tried to create a wrapper class, and the wrapper class loads but BaseX cannot load the dependent 3rd party jar no matter what I try.
I have even tried putting the jar in the basex\lib folder.
I have been able to install my wrapper class and run it successfully, but when I include the 3rd party jar, I get "Module not initialized" for the classes in the 3rd party jar because they are in another package.  I have tried packaging everything into one jar, but that did not help.  I have added a main class to the manifest of the 3rd party jar and it loaded fine but I cannot include the namespace in my xquery.  My example is similar to the FOP.jar example on the file server, however I do not see query ussage example of this example.  I have not yet tried the  expath-pkg.xml route.