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 ab-unarchive-019.xml 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" 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>
MorganaXProc passing XML Calabash passing

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