override-content-types-015 (AB)

Tests @override-content-types is correctly implemented.

Test ab-override-content-types-015.xml is expected to fail with error code err:XC0147 [File steps, Core 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:unarchive override-content-types="[['}', 'application/xml']]">
      <p:with-input href="../documents/archive.zip"/>
   </p:unarchive>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

01 Nov 2024, Achim Berndzen

Changed regular expression from '' to '}'

09 Apr 2020, Achim Berndzen

Initial tests for override-content-types