Tests XS0064 is raised if error code is repeated on the same p:catch.
Test ab-try-017.xml is expected to fail with error code err:XS0064
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:try>
<p:identity>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
<p:catch code="a a">
<p:identity>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
</p:catch>
</p:try>
</p:declare-step>
Initial test