with-input-select-014

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

Test ab-with-input-select-014.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:identity>
      <p:with-input select="function($a){$a}">
         <doc att1="1" att2="3"/>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing

Revision history

14 Aug 2023, Achim Berndzen

Initial tests.