Static variables/option 058

Tests that it is an error to have a dynamic option in @href binding of a static variable

Test ab-static-option-var-058.xml is expected to fail with one of the following error codes: err:XD0050 or 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:variable name="static" static="true" select="." href="{$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