p:unarchive 007 (AB)

Tests p:unarchive: Test XC0081 or XC0085 is raised, if source is not a zip.

Test is expected to fail with with one of these error codes: err:XC0081, err:XC0085.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:unarchive format="zip">
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:unarchive>
</p:declare-step>

Revision history

01 May 2024, Norm Tovey-Walsh
Allow err:XC0081 as a passing result.
20 Dec 2019, Achim Berndzen
Changed error code from C0081->C0085
25 Aug 2019, Achim Berndzen
Initial tests for p:unarchive