Static variables/option 016

Tests that a static option can not be shadowed by another dynamic option.

Test is expected to fail with with one of these error codes: err:XS0004, err:XS0088.

The pipeline

<p:declare-step xmlns:dummy="http://dummy"
                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:output port="result"/>
   <p:option static="true" name="static-option"
             select="14"/>
   <p:option name="static-option" select="15"/>
   <p:identity>
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:identity>
</p:declare-step>

Revision history

20 Nov 2024, Norm Tovey-Walsh
Added err:XS0004 as an alternate error code.
27 Nov 2021, Achim Berndzen
Fixed error code.
11 Oct 2018, Achim Berndzen
Initial test