Tests XC0120 is raised if the source of p:unarchive does not have base URI and option `relative-to`is not present.
Test ab-unarchive-019.xml is expected to fail with error code err:XC0120
.
<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:output port="result"/>
<p:archive>
<p:with-input>
<p:inline>
<doc/>
</p:inline>
</p:with-input>
</p:archive>
<p:set-properties properties="map{}" merge="false"/>
<!-- remove base URI -->
<p:unarchive/>
</p:declare-step>
Specify merge=false on the call to set-properties so that the base URI is removed.
Additional tests for p:unarchive and p:archive-manifest