With-option 005

Tests XS0018 is raised, if a step is invoke without a required option.

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

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:add-attribute match="/*">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:add-attribute>
</p:declare-step>

Revision history

13 Jun 2019, Achim Berndzen
Changed from p:insert to p:add-attribute, because p:insert/@position is no longer required.
05 Oct 2018, Norman Walsh
Fix typo in description
10 Aug 2018, Achim Berndzen
Some new and some changed tests