Test for p:insert 014 (AB)

Tests that p:insert with matched root and before is an error.

Test ab-insert-014.xml is expected to fail with error code err:XC0024.

The pipeline


        <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
            
            <p:output port="result"/>
            
            <p:insert match="/" position="before">
                <p:with-input>
                    <doc1 xmlns=""/>
                </p:with-input>
                <p:with-input port="insertion">
                    <doc2 xmlns=""/>
                </p:with-input>            
            </p:insert>
            
            <p:wrap-sequence wrapper="wrap"/>
        </p:declare-step>
            
    
MorganaXProc passing XML Calabash failing

Revision history

23 Mar 2019, Achim Berndzen

new tests.