In the Saxon-EE jar file, the META-INF/services information for the JAXP XPath factory (javax.xml.xpath.XPathFactory) is incorrect. It causes Saxon-PE instead of Saxon-EE to be loaded, restricting the availability of functionality that is available only in EE. The problem applies only to JDK 5 and not to JDK 6.
The situation is complicated by the fact that as a result of a JDK bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202043
the data is given in two different formats, applicable to JDK 5 and JDK 6. The data for JDK6 is correct, that for JDK 5 is wrong.
The rationale for this is explained here:
http://markmail.org/message/obgfqbnrkuhzl6wl
The services file should read:
com.saxonica.config.EnterpriseXPathFactory
http\://java.sun.com/jaxp/xpath/dom: com.saxonica.config.EnterpriseXPathFactory
http\://saxon.sf.net/jaxp/xpath/om: com.saxonica.config.EnterpriseXPathFactory
http\://www.xom.nu/jaxp/xpath/xom: com.saxonica.config.EnterpriseXPathFactory
http\://jdom.org/jaxp/xpath/jdom: com.saxonica.config.EnterpriseXPathFactory
http\://www.dom4j.org/jaxp/xpath/dom4j: com.saxonica.config.EnterpriseXPathFactory
The build file has been corrected.
Fixed in 9.3.0.11