p:run-062
Test is expected to fail with error code err:XD0001.
The pipeline
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" 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" sequence="true"/>
<p:output port="secondary" sequence="true"/>
</p:run>
<p:add-attribute attribute-name="att"
attribute-value="{/result}">
<p:with-input>
<doc/>
</p:with-input>
</p:add-attribute>
</p:declare-step>
Revision history
- 05 Oct 2022, Achim Berndzen
Modified test to prevent other errors to be reported. - 01 Oct 2022, Achim Berndzen
Added tests for p:run