Tests p:unwrap
Test ab-unwrap-011.xml is expected to fail with error code err:XC0023 [Core steps, XProc]
.
<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>
<doc xmlns:err="http://www.w3.org/ns/xproc-error" a="1">
<!-- comment -->
<?pi target ?>
Some text.</doc>
Tests for p:unwrap (Partly ported from 1.0)