Contenttypes 004

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

Test ab-contenttypes-004.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="application/xml">
      <p:inline content-type="text/plain">Some text</p:inline>
   </p:input>
   <p:output port="result"/>
   <p:identity/>
</p:declare-step>
MorganaXProc passing XML Calabash passing

Revision history

13 Jul 2018 16:06, Achim Berndzen

Added test to make sure p:pipe is no child of p:input. Making content-type statically in the last remaining tests.

02 Jun 2018 17:53, Norman Walsh

Fix namespace declarations

02 May 2018 18:16, Achim Berndzen

Change test with document-properties to map{xs:QName, item()}

25 Apr 2018 18:11, Achim Berndzen

More tests.