<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xmlns:err="http://www.w3.org/ns/xproc-error"
        expected="fail" code="err:XC0085">
   <t:info>
      <t:title>p:archive 059 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-09-01</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Tests for p:archive</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml">
      <p>Tests p:archive: XC0085 must be raised if archive can not be processed (explicit format zip).</p>
   </t:description>
   <t:pipeline>
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" 
                      xmlns:c="http://www.w3.org/ns/xproc-step" version="3.0">
            <p:output port="result" pipe="report"/>        

            <p:archive format="zip">
               <p:with-input port="source"><p:empty /></p:with-input>
               <p:with-input port="manifest"><p:empty /></p:with-input>
               <p:with-input port="archive">
                  <p:inline content-type="application/zip">This is no zip.</p:inline>
               </p:with-input>
            </p:archive>
         
      </p:declare-step>
   </t:pipeline>
</t:test>
