<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0" xmlns:err="http://www.w3.org/ns/xproc-error" expected="fail" code="err:XS0091">
    <t:info>
        <t:title>Static variables/option 018</t:title>
        <t:revision-history>
            <t:revision>
                <t:date>2018-10-11T18:16:00+02:00</t:date>
                <t:author>
                    <t:name>Achim Berndzen</t:name>
                </t:author>
                <t:description xmlns="http://www.w3.org/1999/xhtml">
                    <p>Initial test</p>
                </t:description>
            </t:revision>
        </t:revision-history>
    </t:info>
    <t:description xmlns="http://www.w3.org/1999/xhtml">
        <p>Tests that a static option can not be shadowed by dynamic variable.</p>
    </t:description>
    <t:pipeline>
        <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:dummy="http://dummy" name="main" version="3.0">
            <p:output port="result"/>
            <p:option static="true" name="static-option" select="14"/>
            <p:variable name="static-option" select="15"/>
            
            <p:identity>
                <p:with-input><doc/></p:with-input>
            </p:identity>
        </p:declare-step>
    </t:pipeline>
 
</t:test>
