Contenttypes 009

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

Test is expected to fail with error code err:XD0038.

Input: source

<doc xmlns:t="http://xproc.org/ns/testsuite/3.0"/>

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" version="3.0">
   <p:input port="source" content-types="text/plain"/>
   <p:output port="result"/>
   <p:identity/>
</p:declare-step>

Revision history

02 Jun 2018, Norman Walsh
Fix namespace declarations
25 Apr 2018, Achim Berndzen
More tests.