err-s0002-12 (AB)

Tests XS002 is raised for double names.

Test ab-err-s0002-12.xml is expected to fail with error code err:XS0002.

It requires the following features: file-steps.

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:output port="result"/>
   <p:try name="name">
      <p:group>
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:group>
      <p:catch>
         <p:identity>
            <p:with-input>
               <doc1/>
            </p:with-input>
         </p:identity>
      </p:catch>
      <p:finally name="name">
         <p:output port="finally" primary="false" sequence="true"/>
         <p:identity>
            <p:with-input>
               <doc2/>
            </p:with-input>
         </p:identity>
      </p:finally>
   </p:try>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

16 Oct 2021, Achim Berndzen

New test.