Error XD0062-005

Test err-xd0062-005.xml is expected to fail with error code err:XD0062 [Core steps, XProc].

The pipeline


<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:p="http://www.w3.org/ns/xproc" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="main" version="3.0">
   <p:output port="result"/>
   <p:load href="../documents/ab-doc.xml" content-type="application/xml" document-properties="map{'content-type' : 'text/plain'}"/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

11 Jul 2022, Achim Berndzen

Tests that XD0062 is raised if document's content-type and entry in document-properties are not the same.