Tests XS0036 is raised if a declare step has the same @type as outer pipeline.
Test ab-declare-step-017.xml is expected to fail with error code err:XS0036
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:test="http://test" version="3.0" type="test:test">
<p:output port="result"/>
<p:declare-step type="test:test">
<p:output port="result"/>
<p:identity>
<p:with-input>
<test-failed/>
</p:with-input>
</p:identity>
</p:declare-step>
<p:identity>
<p:with-input>
<test-failed/>
</p:with-input>
</p:identity>
</p:declare-step>
Added new tests