Functions, operators, and data types for XPath 2.0
Constructor functions now accept an empty sequence and return an empty sequence: for example
xs:integer(@x)
returns an empty sequence if there is no attribute x
.
Previously this was a dynamic error.