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
.
<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>
Initial tests for p:compress/p:uncompress