depends 066 (AB)

Tests @depends on p:try/p:group must name an inscope step.

Test 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"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:output port="result"/>
   <p:try>
      <p:group depends="not-inscope">
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:group>
      <p:catch>
         <p:identity>
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:identity>
      </p:catch>
   </p:try>
</p:declare-step>

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.