Output port 32 (AB)

Tests that XD0042 is raised if document with wrong content type appears on p:output.

Test ab-output-032.xml is expected to fail with error code err:XD0042.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
        <p:output port="result"/>
         
        <p:try>
          <p:output port="result"/>
          <p:error code="error">
             <p:with-input><error xmlns=""/></p:with-input>
          </p:error>
           <p:catch code="error">
              <p:output port="result"/>
              <p:identity>
                 <p:with-input><doc xmlns=""/></p:with-input>
              </p:identity>
           </p:catch>
           <p:finally>
              <p:output port="additional" primary="false" content-types="text/plain" pipe="@additional"/>
              <p:identity name="additional">
                 <p:with-input><finally xmlns=""/></p:with-input>
              </p:identity>
           </p:finally>
         </p:try>
      </p:declare-step>
   

Revision history

28 Sep 2020, Achim Berndzen

Added new tests