Contenttypes 010

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

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

The pipeline


      <p:declare-step 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

04 Oct 2018 18:13, Achim Berndzen

One new and one corrected test.