Tests p:run: Checks explit non-primary p:output does not become context-item.
Test ab-p-run-063.xml is expected to fail with error code err:XD0001
.
It requires the following features: p-run.
<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"/>
<p:run>
<p:with-input>
<p:inline>
<p:declare-step version="3.0">
<p:output port="result" primary="false" pipe="result@id"/>
<p:identity name="id">
<p:with-input>
<result>42</result>
</p:with-input>
</p:identity>
</p:declare-step>
</p:inline>
</p:with-input>
<p:output port="result" primary="false"/>
</p:run>
<p:add-attribute attribute-name="att" attribute-value="{/result}">
<p:with-input>
<doc/>
</p:with-input>
</p:add-attribute>
</p:declare-step>
Modified test to prevent other errors to be reported.
Added tests for p:run