Contenttypes 007

Tests XD0042 is raised when document does not match explicit content-types on p:output

Test ab-contenttypes-007.xml is expected to fail with error code err:XD0042.

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

Revision history

07 Jul 2018 17:01, Achim Berndzen

=Adapted tests to PR #422

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.