p:archive 067 (AB)

Tests p:archive: XC0080 must be raised number of archives do not match expected numbers.

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

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:inline document-properties="map{'base-uri' : 'http:///test/a'}">
            <doc/>
         </p:inline>
      </p:with-input>
      <p:with-input port="manifest">
         <p:empty/>
      </p:with-input>
      <p:with-input port="archive">
         <p:document href="../documents/ab-doc.zip"/>
         <p:document href="../documents/ab-doc.zip"/>
      </p:with-input>
   </p:archive>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

01 Sep 2019, Achim Berndzen

Tests for p:archive