Static variables/option 057

Tests that it is an error to have a dynamic option in p:document binding of a static variable

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

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:document href="{$dynamic}"/>
            </p:variable>
            
            <p:identity>
                <p:with-input>
                    <doc xmlns=""/>
                </p:with-input>
            </p:identity>
        </p:declare-step>
    
MorganaXProc passing XML Calabash failing

Revision history

14 Oct 2018, Achim Berndzen

Initial test