p:archive 071 (AB)

Tests p:archive: XD0011 must be raised if resource mentioned in manifest does not exist.

Test ab-p-archive-071.xml is expected to fail with error code err:XD0011.

The pipeline


<p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
   <p:output port="result"/>
   <p:archive format="zip" parameters="map{'command' : 'create'}">
      <p:with-input port="source">
         <p:empty/>
      </p:with-input>
      <p:with-input port="manifest">
         <c:archive>
            <c:entry name="a.xml" href="i-do-not-exist"/>
         </c:archive>
      </p:with-input>
      <p:with-input port="archive">
         <p:empty/>
      </p:with-input>
   </p:archive>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

11 Jun 2020, Achim Berndzen

Setting command to 'create' to make sure the error is raised.

This revision is necessary due to step spec change [11].

01 Sep 2019, Achim Berndzen

Tests for p:archive