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:p="http://www.w3.org/ns/xproc" version="3.0">
            <p:output port="result"/>        

            <p:archive format="zip">
               <p:with-input port="source"><p:empty/></p:with-input>
               <p:with-input port="manifest">
                  <c:archive xmlns:c="http://www.w3.org/ns/xproc-step">
                     <c:entry xmlns:c="http://www.w3.org/ns/xproc-step" 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 failing

Revision history

01 Sep 2019, Achim Berndzen

Tests for p:archive