override-content-types-005 (AB)

Tests @override-content-types is correctly implemented.

Test ab-override-content-types-005.xml is expected to fail with error code err:XC0147 [Core steps, File steps].

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" name="pipeline" version="3.0">
   <p:output port="result"/>
   <p:archive-manifest override-content-types="[['', 'application/xml']]">
      <p:with-input href="../documents/archive.zip"/>
   </p:archive-manifest>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

09 Apr 2020, Achim Berndzen

Initial tests for override-content-types