With-option 005

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

Test ab-with-option-005.xml 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" 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>
MorganaXProc passing XML Calabash passing

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 08:38, Norman Walsh

Fix typo in description

10 Aug 2018 18:12, Achim Berndzen

Some new and some changed tests