<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0" xmlns:err="http://www.w3.org/ns/xproc-error" expected="fail" code="err:XD0038">
   <t:info>
      <t:title>Contenttypes 004</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2018-07-13T16:06:43+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Added test to make sure p:pipe is no child of p:input. Making content-type statically in the last remaining tests.</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-06-02T17:53:51-05:00</t:date>
            <t:author>
               <t:name>Norman Walsh</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Fix namespace declarations</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-05-02T18:16:03+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Change test with document-properties to map{xs:QName, item()}</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2018-04-25T18:11:02+02:00</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>More tests.</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml">
      <p>Tests XD0038 is raised when document does not match explicit content-types on p:input</p>
   </t:description>
   <t: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>
   </t:pipeline>
</t:test>