pipe-017 (AB)
Test is expected to fail with error code err:XS0067.
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:identity name="producer">
<p:with-input>
<doc a="42"/>
</p:with-input>
</p:identity>
<p:sink/>
<p:variable name="var" select="/doc/@a">
<p:pipe/>
</p:variable>
<p:add-attribute attribute-name="att"
attribute-value="{$var}">
<p:with-input>
<result/>
</p:with-input>
</p:add-attribute>
</p:declare-step>
Revision history
- 31 May 2019, Achim Berndzen
Checks p:pipe on p:variable