Static variables/option 056

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

Test ab-static-option-var-056.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:variable name="static" static="true" select=".">
                <p:inline><doc xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">{$dynamic}</doc></p:inline>
            </p:variable>
            
            <p:identity>
                <p:with-input>
                    <doc xmlns=""/>
                </p:with-input>
            </p:identity>
        </p:declare-step>
    
MorganaXProc passing XML Calabash failing

Revision history

17 Mar 2019, Achim Berndzen

Changed error code to XS0107.

14 Oct 2018, Achim Berndzen

Initial test