# JAXP API

For conformance with JAXP, the method `getURIResolver()` on the `Controller` class (Saxon's implementation of the JAXP `Transformer`) has changed so that if no user-specified `URIResolver` has been defined, the method returns null. Previously it returned the system default `URIResolver`.

In the JAXP XPath API, when the XPath expression is applied to a DOM Node, and the result requested is of type `NODESET`, the `evaluate()` method now attempts to return the result as a DOM `NodeList` object. If the result of the expression contains values that are not nodes, then it will return a Java List as before.

Comparison of `xs:duration` values using the less-than and greater-than operators (or by sorting) is no longer supported.

Next