Static variables/option 044

Tests that a static variable can not be shadowed by a dynamic option on a child step.

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

The pipeline


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

Revision history

13 Oct 2018, Achim Berndzen

Initial test