==Java==
In case If you want to extend BaseX an EXPath archive with a Java archiveJAR file, some additional requirements have to be fulfilled:
* Apart from the package descriptor <code>expath-pkg.xml</code>, the package has to contain a descriptor file at its root, defining the included jars and the binary names of their public classes. It must be named <code>basex.xml</code> and must conform to the following structure: