Input 031

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

Test ab-input-031.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:input port="source" select="function($a){$a}">
      <doc att1="1" att2="2"/>
   </p:input>
   <p:output port="result"/>
   <p:identity/>
</p:declare-step>
MorganaXProc passing XML Calabash failing

Revision history

14 Aug 2023, Achim Berndzen

Initial test.