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:with-input port="manifest">
            <c:entry name="a.xml" href="i-do-not-exist"/>
      <p:with-input port="archive">
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