Output port 007 (AB)

Tests that XD0007 is raised if sequence arrives on a non-sequence output port.

Test ab-output-007.xml is expected to fail with error code err:XD0007.

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" sequence="true"/>
   <p:for-each>
      <p:with-input>
         <doc/>
      </p:with-input>
      <p:output port="result"/>
      <p:identity>
         <p:with-input>
            <result/>
            <result/>
         </p:with-input>
      </p:identity>
   </p:for-each>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

28 Sep 2020, Achim Berndzen

Added new tests