ab-import-functions-024

Tests p:import-functions: Calling no invalid query is an error.

Test ab-import-functions-024.xml is expected to fail with error code err:XS0106.

It requires the following features: xquery-function-import.

The pipeline


<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-functions1.xq" 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>
MorganaXProc passing XML Calabash passing

Revision history

10 Sep 2022, Achim Berndzen

Tests for p:import-function