<?xml version="1.0" encoding="utf-8"?>
<t:test xmlns:t="http://xproc.org/ns/testsuite/3.0"
        xml:base="/ab-xinclude-007.xml"
        name="ab-xinclude-007.xml"
        expected="fail"
        code="err:XC0029">
   <t:info xmlns:err="http://www.w3.org/ns/xproc-error">
      <t:title>p:xinclude 007 (AB)</t:title>
      <t:revision-history>
         <t:revision>
            <t:date>2019-08-26</t:date>
            <t:author>
               <t:name>Achim Berndzen</t:name>
            </t:author>
            <t:description xmlns="http://www.w3.org/1999/xhtml">
               <p>Additional tests for p:xinclude.</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:xinclude raises err:XC0029 for cyclic include.</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" name="pipeline" version="3.0">
         <p:output port="result"/>
         <p:xinclude>
            <p:with-input>
               <document>
                  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
                              href="../documents/cyclic-include-1.xml"/>
               </document>
            </p:with-input>
         </p:xinclude>
      </p:declare-step>
   </t:pipeline>
</t:test>
