Tests p:archive: XC0079 must be raised if parameter contains entries with invalid values. (Explicit format)
Test ab-p-archive-065.xml is expected to fail with error code err:XC0079
.
<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{'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>
Tests for p:archive