AB-uncompress-010

Tests uncompress raises error if @content-type is not valid.

Test ab-uncompress-010.xml is expected to fail with error code err:XD0079 [Core steps, XProc].

The pipeline


<p:declare-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:uncompress content-type="i-am-not-a-correct-mime-type">
      <p:with-input href="../documents/simpledoc.gz"/>
   </p:uncompress>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

09 Apr 2020, Achim Berndzen

Changed error code

04 Oct 2019, Achim Berndzen

Initial tests for p:compress/p:uncompress