<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-set-attributes-011.xml"
        name="ab-set-attributes-011.xml"
        expected="fail"
        code="err:XC0023">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>p:set-attributes-011 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-06-23</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Changed test to new step signature.</p>
            </t:description>
         </t:revision>
         <t:revision>
            <t:date>2019-05-19</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Tests for p:set-attributes</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 p:set-attributes</p>
   </t:description>
   <t:input xmlns:err="http://www.w3.org/ns/xproc-error" port="source">
      <doc a="2"><!-- comment --><?pi target ?>
         text
      </doc>
   </t:input>
   <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:input port="source"/>
         <p:output port="result"/>
         <p:set-attributes match="/" attributes="map{'att':'1'}"/>
      </p:declare-step>
   </t:pipeline>
</t:test>
