p:try-004

Tests XS0075 is raised if p:try does not either p:catch or p:finally.

Test 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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:try>
      <p:identity>
         <p:with-input>
            <doc/>
         </p:with-input>
      </p:identity>
   </p:try>
</p:declare-step>

Revision history

31 Oct 2018, Achim Berndzen
Initial test