with-input-select-015

Tests that XD0016 is raised, when @select returns a function.

Test ab-with-input-select-015.xml is expected to fail with error code err:XD0016.

It requires the following features: HOF.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:variable name="funct" select="function($a){$a}"/>
   <p:identity>
      <p:with-input select="$funct">
         <doc att1="1" att2="3"/>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

14 Aug 2023, Achim Berndzen

Initial tests.