Extensibility mechanisms
A Java extension function can now return a java.util.List object to represent a sequence.
Each item in the list is converted to an XPath value (node or atomic value) as if it were returned from
a separate function call: for example, a List containing three Java Integers is converted to an XPath
sequence of three xs:int values. {func25}