p:unwrap 010 (AB)
Test is expected to fail with error code err:XC0023.
Input: source
<doc xmlns:err="http://www.w3.org/ns/xproc-error"
xmlns:t="http://xproc.org/ns/testsuite/3.0" a="1">
Some text.</doc>
The pipeline
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
xmlns:p="http://www.w3.org/ns/xproc"
xmlns:t="http://xproc.org/ns/testsuite/3.0" name="pipeline" version="3.0">
<p:input port="source"/>
<p:output port="result"/>
<p:unwrap match="processing-instruction()"/>
</p:declare-step>
Revision history
- 16 Jun 2019, Achim Berndzen
Tests for p:unwrap (Partly ported from 1.0)