AB-uncompress-011

Tests uncompress raises error if @content-type does not fit document (text as xml).

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

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" version="3.0">
   <p:output port="result"/>
   <p:uncompress content-type="application/xml">
      <p:with-input href="../documents/simpletext.gz"/>
   </p:uncompress>
</p:declare-step>

Revision history

04 Oct 2019, Achim Berndzen
Initial tests for p:compress/p:uncompress