Contenttypes 009

Tests XD0038 is raised when an externally supplied document does not match explicit content-types on p:input

Test ab-contenttypes-009.xml is expected to fail with error code err:XD0038.

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:input port="source" content-types="text/plain"/>
   <p:output port="result"/>
   <p:identity/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Inputs

port = source


<doc/>

Revision history

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

25 Apr 2018 18:11, Achim Berndzen

More tests.