nw-dup-input-port-001

Tests p:with-input: input port names may not be explicitly repeated.

Test nw-dup-input-port-001.xml is expected to fail with error code err:XS0086.

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:identity>
      <p:with-input port="source">
         <p:inline>
            <doc/>
         </p:inline>
      </p:with-input>
      <p:with-input port="source">
         <p:inline>
            <doc/>
         </p:inline>
      </p:with-input>
   </p:identity>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

25 Jun 2018 17:34, Norman Walsh

Test that port names are optional