With-option 003

Tests XS0080 is raised, when p:with-option binds an option twice.

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

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:output port="result"/>
   <p:count>
      <p:with-input>
         <doc/>
      </p:with-input>
      <p:with-option name="limit" select="1"/>
      <p:with-option name="limit" select="2"/>
   </p:count>
</p:declare-step>

Revision history

10 Aug 2018, Achim Berndzen
Some new and some changed tests