Static variables/option 053

Tests that it is an error to have a dynamic option in @select of a static option

Test ab-static-option-var-053.xml is expected to fail with error code err:XS0107.

The pipeline


        <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="main" version="3.0">
            <p:output port="result"/>
            
            <p:option name="dynamic" select="13"/>
            <p:option name="static" static="true" select="$dynamic"/>
            
            <p:identity>
                <p:with-input>
                    <doc xmlns=""/>
                </p:with-input>
            </p:identity>
        </p:declare-step>
    
MorganaXProc passing XML Calabash failing

Revision history

26 Jan 2019, Achim Berndzen

Changed error code from XS0071 to XS0107.

14 Oct 2018, Achim Berndzen

Initial test