Tests that XS0072 is raised p:finally has a port name used in p:try/p:catch
Test ab-try-027.xml is expected to fail with error code err:XS0072
.
<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" sequence="true"/>
<p:try>
<p:output port="result"/>
<p:identity>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
<p:catch name="catch">
<p:output port="result" primary="true"/>
<p:output port="catcher">
<p:empty/>
</p:output>
<p:identity>
<p:with-input pipe="error@catch"/>
</p:identity>
</p:catch>
<p:finally>
<p:output port="catcher" primary="false" pipe="@finally"/>
<p:identity name="finally">
<p:with-input>
<finally1/>
</p:with-input>
</p:identity>
</p:finally>
</p:try>
</p:declare-step>
Added new tests