p:archive-manifest 012 (AB)

Tests XC0120 is raised if the source of p:archive-manifest does not have base URI and option “relative-to” is not present.

Test ab-archive-manifest-012.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:archive-manifest/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

21 Dec 2019, Achim Berndzen

Additional tests for p:unarchive and p:archive-manifest