Tests p:import-functions: Laoding xquery with xslt mime type.
Test ab-import-functions-030.xml is expected to fail with one of the following error codes: err:XS0106
or err:XS0107
.
It requires the following features: xslt-function-import.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:test="http://xproc.org/ns/testsuite/3.0/function-test" version="3.0">
<p:import-functions href="../documents/xquery-functions.xq" content-type="application/xslt+xml"/>
<p:output port="result"/>
<p:identity>
<p:with-input>
<result>{test:function()}</result>
</p:with-input>
</p:identity>
</p:declare-step>
Tests for p:import-function