p:unwrap 008 (AB)

Tests p:unwrap

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

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="@a"/>
</p:declare-step>
MorganaXProc passing XML Calabash failing

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)