<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-depends-058.xml"
        name="ab-depends-058.xml"
        expected="fail"
        code="err:XS0073">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>depends 058 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2021-11-20</t:date>
            <t:author>
               <t:name>Norman Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Removed error unrelated to this test where there was no binding
               for an input and no default readable port.</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2020-01-02</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Added new tests for [p:] depends.</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests @depends on p:try must be a step name inscope.</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step 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>
   </t:pipeline>
</t:test>
