AB-uncompress-012

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

Test ab-uncompress-012.xml is expected to fail with error code err:XC0201 [Core steps, Run step].

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="application/json">
      <p:with-input href="../documents/simpledoc.gz"/>
   </p:uncompress>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

04 Oct 2019, Achim Berndzen

Initial tests for p:compress/p:uncompress