p:try-003

Tests XS0075 is raised if p:try does not have at least one child step.

Test ab-try-003.xml is expected to fail with error code err:XS0075.

The pipeline


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

Revision history

31 Oct 2018, Achim Berndzen

Initial test