p:archive 072 (AB)

Tests p:archive: XC0112 must be raised if more than one document appears on manifest.

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

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:inline document-properties="map{'base-uri' : 'one'}"/>
            </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="one"/>
               </c:archive>
               <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="one"/>
               </c:archive>
               
            </p:with-input>
            <p:with-input port="archive"><p:empty/></p:with-input>
         </p:archive>
         
      </p:declare-step>
   
MorganaXProc passing

Revision history

18 Oct 2019, Achim Berndzen

Tests for p:archive