Error XD0051 0010 (AB)

Tests XD0051: No functions allowed as result in TVT.

Test ab-error-xd0051-010.xml is expected to fail with error code err:XD0051.

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="func" select="function($a){$a}"/>
   <p:add-attribute attribute-name="att" attribute-value="42">
      <p:with-input>
         <doc>{$func}</doc>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>
MorganaXProc passing

Revision history

14 Aug 2023, Achim Berndzen

Initial commit