Features: file-steps

err-s0002-11 (AB)

Tests XS002 is raised for double names.

Test is expected to fail with error code err:XS0002.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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 name="name">
         <p:identity>
            <p:with-input>
               <doc1/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
</p:declare-step>

Revision history

16 Oct 2021, Achim Berndzen
New test.