Hash :
bc06a522
Author :
Date :
2022-03-02T02:57:49
Fix recursion check in xinclude.c Compare the included URL with the document's URL to detect local inclusions. Fixes #348.
<?xml version="1.0" encoding="UTF-8"?>
<book xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink">
<chapter>
<para xml:id="t100">Introduction</para>
</chapter>
<chapter>
<xi:include href="./red.xml" xpointer="t100" parse="xml"/>
</chapter>
</book>