depends 058 (AB)

Tests @depends on p:try must be a step name inscope.

Test ab-depends-058.xml is expected to fail with error code err:XS0073.

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 depends="not-inscope">
      <p:identity>
         <p:with-input>
            <doc/>
         </p:with-input>
      </p:identity>
      <p:catch>
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

20 Nov 2021, Norman Walsh

Removed error unrelated to this test where there was no binding for an input and no default readable port.

02 Jan 2020, Achim Berndzen

Added new tests for [p:] depends.