Test nw-sleep-002

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.

The pipeline


<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>
MorganaXProc passing XML Calabash passing

Revision history

04 Jan 2025, Norm Tovey-Walsh

Adjusted duration now that it’s expected to be in seconds.

28 Dec 2024, Norm Tovey-Walsh

Initial commit.