p:try 026 (AB)

Tests that XS0072 is raised p:finally has a port name used in p:try/p:catch

Test ab-try-026.xml is expected to fail with error code err:XS0072.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result" sequence="true"/>
         
         <p:try>
            <p:output port="result"/>
            <p:identity>
               <p:with-input><doc xmlns=""/></p:with-input>
            </p:identity>
            
           <p:finally>
              <p:output port="result" primary="false" pipe="@finally"/>
              <p:identity name="finally">
                 <p:with-input>
                    <finally1 xmlns=""/>
                 </p:with-input>
              </p:identity>
           </p:finally>
         </p:try>
         
      </p:declare-step>
   

Revision history

28 Sep 2020, Achim Berndzen

Added new tests