Tests that p:sleep
works.
Test nw-sleep-002.xml is expected to fail with error code err:XD0053
.
It requires the following features: timeout-support.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:ex="http://test" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
<p:output port="result"/>
<p:group timeout="2">
<p:identity>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
<p:sleep duration="5"/>
</p:group>
</p:declare-step>
Adjusted duration now that it’s expected to be in seconds.
Initial commit.