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.
<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>
Initial test.