Tests p:unarchive: Test XC0085 is raised, format is not an archive/unknown.
Test ab-unarchive-008.xml is expected to fail with error code err:XC0085
.
<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
<p:output port="result"/>
<p:unarchive format="i-am-not-the-format-of-an-archive">
<p:with-input href="../documents/archive.zip"/>
</p:unarchive>
</p:declare-step>
Initial tests for p:unarchive