Make sure that an explicitly named output port works on p:try.
Test try-catch-009.xml is expected to pass.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.1">
<p:output port="result" sequence="true">
<p:pipe port="my-result" step="try-catch"/>
</p:output>
<p:try name="try-catch">
<p:output port="my-result" primary="true" sequence="true"/>
<p:group>
<p:identity>
<p:with-input>
<p:inline exclude-inline-prefixes="#all">
<doc>Hello, world</doc>
</p:inline>
</p:with-input>
</p:identity>
</p:group>
<p:catch>
<p:output port="my-result" primary="true" sequence="true"/>
<p:identity/>
</p:catch>
</p:try>
</p:declare-step>
<s:schema xmlns="http://www.w3.org/1999/xhtml" xmlns:s="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2">
<s:pattern>
<s:rule context="/doc">
<s:assert test=". = 'Hello, world'">The pipeline root is incorrect.</s:assert>
</s:rule>
</s:pattern>
</s:schema>
Initial commit.