<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-error-xd0051-006.xml"
        name="ab-error-xd0051-006.xml"
        expected="fail"
        code="err:XD0051">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>Error XD0051 006 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2023-08-14</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Removed unnecessary feature p:file-move</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2022-08-04</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Initial commit</p>
            </t:description>
         </t:revision>
      </t:revision-history>
   </t:info>
   <t:description xmlns="http://www.w3.org/1999/xhtml"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests XD0051</p>
   </t:description>
   <t:pipeline xmlns:err="http://www.w3.org/ns/xproc-error">
      <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="3.0">
         <p:output port="result"/>
         <p:add-attribute attribute-name="att"
                          attribute-value="{ ('text', map{'key' : 'value'}, 'text') }">
            <p:with-input>
               <doc/>
            </p:with-input>
         </p:add-attribute>
      </p:declare-step>
   </t:pipeline>
</t:test>
