XQJ (JSR 225) interface

XQJ is no longer built in to the standard Saxon-HE JAR file, though it is available with the Saxon-HE distribution in its own JAR file. This is because the XQJ specification license (which controls the distribution of the Java interface definitions) is not an open source license under the definitions used by the Open Source Initiative: it does not allow modification, and does not allow distribution of an implementation unless it passes Oracle's test suite. Although Saxon meets the conditions in the XQJ license, the fact that the license is not open source has prevented Saxon-HE being included in software distributions that demand strict adherence to the open source philosophy. If XQJ is not used, the saxon9-xqj.jar file can be excluded from such a distribution.