p:unwrap 011 (AB)

Tests p:unwrap

Test ab-unwrap-011.xml is expected to fail with error code err:XC0023 [Core steps, XProc].

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
   <p:input port="source"/>
   <p:output port="result"/>
   <p:unwrap match="text()"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Inputs

port = source


<doc xmlns:err="http://www.w3.org/ns/xproc-error" a="1">
         <!-- comment -->
         <?pi target ?>
         Some text.</doc>

Revision history

16 Jun 2019, Achim Berndzen

Tests for p:unwrap (Partly ported from 1.0)