Input 030

Tests XS0100 is raised, when p:input has a p:pipe child.

Test is expected to fail with error code err:XS0100.

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" name="main" version="3.0">
   <p:input port="source"/>
   <p:input port="secondary">
      <p:pipe step="main" port="source"/>
   </p:input>
   <p:output port="result"/>
   <p:identity/>
</p:declare-step>

Revision history

10 Nov 2018, Achim Berndzen
Changed expected error code from XS0044 to XS0100.
13 Jul 2018, Achim Berndzen
Added test to make sure p:pipe is no child of p:input. Making content-type statically in the last remaining tests.