Output port 025 (AB)

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

Test ab-output-025.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:viewport match="input">
            <p:with-input><input xmlns=""/></p:with-input>
            <p:output port="result" content-types="text/plain"/>
            <p:identity>
               <p:with-input><doc xmlns=""/></p:with-input>
            </p:identity>
         </p:viewport>
      </p:declare-step>
   

Revision history

28 Sep 2020, Achim Berndzen

Added new tests