Output port 019 (AB)

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

Test 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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result" sequence="true"/>
   <p:try>
      <p:output port="result"/>
      <p:identity>
         <p:with-input>
            <doc/>
         </p:with-input>
      </p:identity>
      <p:finally>
         <p:output port="finally" primary="false"
                   pipe="@finally"/>
         <p:identity name="finally">
            <p:with-input>
               <finally1/>
               <finally2/>
            </p:with-input>
         </p:identity>
      </p:finally>
   </p:try>
</p:declare-step>

Revision history

28 Sep 2020, Achim Berndzen
Added new tests