Features: HOF

Input 031

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

Test is expected to fail with error code err:XD0016.

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" version="3.0">
   <p:input port="source" select="function($a){$a}">
      <doc att1="1" att2="2"/>
   </p:input>
   <p:output port="result"/>
   <p:identity/>
</p:declare-step>

Revision history

14 Aug 2023, Achim Berndzen
Initial test.