Tests that a static option can not be shadowed by another static option on a child step.
Test ab-static-option-var-015.xml is expected to fail with error code err:XS0088
.
<p:declare-step xmlns:dummy="http://dummy" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
<p:output port="result"/>
<p:option static="true" name="static-option" select="14"/>
<p:declare-step type="dummy:test">
<p:output port="result"/>
<p:option static="true" name="static-option" select="15"/>
<p:identity>
<p:with-input>
<doc/>
</p:with-input>
</p:identity>
</p:declare-step>
<dummy:test/>
</p:declare-step>
Fixed error code.
Initial test