GNOME Bugzilla – Bug 140000
xincludes repeat fallback
Last modified: 2009-08-15 18:40:50 UTC
When running 'xmllint --xinclude' on a document with multiple non-nested xincludes with fallbacks, the fallback gets repeated in the output. a.xml: <a> <xi:include href="b.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback>There is no b.xml ... </xi:fallback> </xi:include> <xi:include href="c.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> <xi:fallback>There is no c.xml ... </xi:fallback> </xi:include> </a> xmllint --xinclude a.xml I/O warning : failed to load external entity "b.xml" I/O warning : failed to load external entity "c.xml" I/O warning : failed to load external entity "c.xml" <?xml version="1.0"?> <a> There is no b.xml ... There is no c.xml ... There is no c.xml ... </a> Note that if you add a third xi:include, you then will get three repetitions, and so on... This bug has been submitted on the Debian Bug Tracking System as bug number #243580.
*** This bug has been marked as a duplicate of 139520 ***
This should be closed by release 2.6.9, thanks, Daniel