Features: xquery-function-import

ab-import-functions-029

Tests p:import-functions: Laoding xslt with xquery mime type.

Test is expected to fail with with one of these error codes: err:XS0106, err:XS0107.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0"
                xmlns:test="http://xproc.org/ns/testsuite/3.0/function-test" version="3.0">
   <p:import-functions href="../documents/xslt-functions.xsl"
                       content-type="application/xquery"/>
   <p:output port="result"/>
   <p:identity>
      <p:with-input>
         <result>{test:function()}</result>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

10 Sep 2022, Achim Berndzen
Tests for p:import-function