with-input-059

Tests p:with-input: Tests error XS0003 is raised if non-primary input port is not connected.

Test is expected to fail with with one of these error codes: err:XS0003, err:XS0032.

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:insert match="/doc" position="first-child">
      <p:with-input>
         <doc/>
      </p:with-input>
      <p:with-input port="insertion"/>
   </p:insert>
</p:declare-step>

Revision history

02 Jun 2018, Norman Walsh
Fix namespace declarations
02 May 2018, Achim Berndzen
Change test with document-properties to map{xs:QName, item()}
02 Feb 2018, Achim Berndzen
added new tests