p:unarchive 019 (AB)

Tests XC0120 is raised if the source of p:unarchive does not have base URI and option `relative-to`is not present.

Test is expected to fail with error code err:XC0120.

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: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"/>
   
   <p:unarchive/>
</p:declare-step>

Revision history

01 May 2024, Norm Tovey-Walsh
Specify merge=false on the call to set-properties so that the base URI is removed.
21 Dec 2019, Achim Berndzen
Additional tests for p:unarchive and p:archive-manifest