Output port 021 (AB)

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

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

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result" sequence="true"/>
         
            <p:declare-step type="test:test">
               <p:output port="result"/>
               <p:identity>
                  <p:with-input>
                     <doc1 xmlns=""/>
                     <doc2 xmlns=""/>
                  </p:with-input>
               </p:identity>
            </p:declare-step>
         
            <test:test xmlns:test="http://test"/>
      </p:declare-step>
   

Revision history

28 Sep 2020, Achim Berndzen

Added new tests