<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-p-archive-065.xml"
        name="ab-p-archive-065.xml"
        expected="fail"
        code="err:XC0079">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>p:archive 065 (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"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests p:archive: XC0079 must be raised if parameter contains entries with invalid values. (Explicit format)</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step xmlns:c="http://www.w3.org/ns/xproc-step"
                      xmlns:p="http://www.w3.org/ns/xproc"
                      version="3.0">
         <p:output port="result"/>
         <p:archive format="zip" parameters="map{'level': 'unknown'}">
            <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:empty/>
            </p:with-input>
         </p:archive>
      </p:declare-step>
   </t:pipeline>
</t:test>
