p:unarchive 006 (AB)

Tests p:archive-manifest: Test XC0081 is raised, if source is not a zip.

Test is expected to fail with error code err:XC0081.

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>
      <p:with-input>
         <doc/>
      </p:with-input>
   </p:unarchive>
</p:declare-step>

Revision history

01 May 2024, Norm Tovey-Walsh
Change the error code to match the description.
14 Dec 2019, Achim Berndzen
Fixed error code from C0081 -> C0085
25 Aug 2019, Achim Berndzen
Initial tests for p:unarchive