<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-err-d0006-001.xml"
        name="ab-err-d0006-001.xml"
        expected="fail"
        code="err:XD0006">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>Error test XD006 001</t:title>
      <t:revision-history>
         <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-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"
                  xmlns:err="http://www.w3.org/ns/xproc-error">
      <p>Tests that XD006 is raised when a non sequence port receives p:empty</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 match="/doc" attribute-name="att" attribute-value="val">
            <p:with-input>
               <p:empty/>
            </p:with-input>
         </p:add-attribute>
      </p:declare-step>
   </t:pipeline>
</t:test>
