The atomic type xs:anyURI is incorrectly classified as
an ordered type, which means that operations such as
sorting and use of min() and max() are permitted.
Source fix: in net.sf.saxon.type.Type, method
isOrdered() at line 601, remove "case ANY_URI" from the
list of types that cause the method to return true.