Saxon extensions to the W3C XSLT/XQuery specifications
sql:insert extension instruction now tidies up properly by closing the
prepared statement, which prevents Oracle running out of cursors.
Extension functions may now return an array; this is treated in the same way as if they return a list. Thanks to Aleksei Valikov for this enhancement.