p:unescape-markup 009 (AB)

Tests p:unescape-markup: More than one top-level element is an error.

Test ab-unescape-markup-009.xml is expected to fail with error code err:XC0091.

The pipeline


      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
         <p:output port="result"/>
         <p:unescape-markup namespace="http://www.example.org/ns/">
            <p:with-input port="source">
               <p:inline>
                  <wrapper xmlns=""><!-- comment --><?foo bar?><doc><p>foo</p></doc></wrapper>
                  <wrapper xmlns=""><!-- comment --><?foo bar?><doc><p>foo</p></doc></wrapper>
               </p:inline>
            </p:with-input>
         </p:unescape-markup>
      </p:declare-step>
   
MorganaXProc passing XML Calabash failing

Revision history

23 Jun 2019, Achim Berndzen

Tests for p:unescape-markup