AB try 020

Test XS0112 is raised if p:finally has primary output port.

Test ab-try-020.xml is expected to fail with error code err:XS0112.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:try>
      <p:output port="output"/>
      <p:identity>
         <p:with-input>
            <initial/>
         </p:with-input>
      </p:identity>
      <p:catch>
         <p:output port="output"/>
         <p:identity>
            <p:with-input>
               <catch/>
            </p:with-input>
         </p:identity>
      </p:catch>
      <p:finally>
         <p:identity>
            <p:with-input>
               <finally/>
            </p:with-input>
         </p:identity>
      </p:finally>
   </p:try>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

13 Jul 2019, Achim Berndzen

New test