p:xinclude 007 (AB)

Tests p:xinclude raises err:XC0029 for cyclic include.

Test is expected to fail with error code err:XC0029.

The pipeline

<p:declare-step xmlns:err="http://www.w3.org/ns/xproc-error"
                xmlns:p="http://www.w3.org/ns/xproc"
                xmlns:t="http://xproc.org/ns/testsuite/3.0" 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>

Revision history

26 Aug 2019, Achim Berndzen
Additional tests for p:xinclude.