Tests that XD0007 is raised if sequence arrives on a non-sequence output port.
Test ab-output-018.xml is expected to fail with error code err:XD0007
.
<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:error code="error">
<p:with-input>
<error/>
</p:with-input>
</p:error>
<p:catch code="error">
<p:output port="result" sequence="false"/>
<p:identity>
<p:with-input>
<catch1/>
<catch2/>
</p:with-input>
</p:identity>
</p:catch>
</p:try>
</p:declare-step>
Added new tests