<?xml version="1.0" encoding="UTF-8"?>
<t:test expected="fail" code="err:XD0062" xmlns:err="http://www.w3.org/ns/xproc-error"
        xmlns:t="http://xproc.org/ns/testsuite/3.0">
   <t:info>
      <t:title>p:variable-048 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2026-07-19</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>New test.</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml">
      <p>Tests (implicit) content-type and document-properties must match.</p>
   </t:description>
   <t:pipeline>
      <p:declare-step version="3.0"
                      xmlns:p="http://www.w3.org/ns/xproc"
                      xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <p:output port="result"/>
         
         <p:variable name="var" select=".">
            <p:inline document-properties="map{'content-type' : 'text/plain'}"><doc /></p:inline>
         </p:variable>
         
         <p:identity>
            <p:with-input><failed /></p:with-input>
         </p:identity>
      </p:declare-step>
   </t:pipeline>
</t:test>