Tests p:import-functions: tests limiting XSLT imports by namespace.
Test nw-import-functions-003.xml is expected to fail with error code err:XS0107
.
<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" xmlns:test1="http://xproc.org/ns/testsuite/3.0/function-test1" version="3.0">
<p:import-functions href="../documents/xslt-functions.xsl" namespace="http://xproc.org/ns/testsuite/3.0/function-test1" content-type="application/xslt+xml"/>
<p:output port="result"/>
<p:identity>
<p:with-input>
<result>{test:function1()}</result>
</p:with-input>
</p:identity>
</p:declare-step>
This test should fail statically.
Tests for p:import-functions.