Tests that step imports are transitive.
Test nw-library-002.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:x="http://test" version="3.0">
<p:import href="../pipelines/nw-library-001.xpl"/>
<p:output port="result"/>
<p:declare-step type="x:one">
<p:output port="result"/>
<p:identity>
<p:with-input>
<one-prime/>
</p:with-input>
</p:identity>
</p:declare-step>
<x:one name="a"/>
<x:two name="b"/>
<x:three name="c"/>
<p:wrap-sequence wrapper="result">
<p:with-input pipe="@a @b @c"/>
</p:wrap-sequence>
</p:declare-step>
Initial commit