After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 140000 - xincludes repeat fallback
xincludes repeat fallback
Status: VERIFIED DUPLICATE of bug 139520
Product: libxml2
Classification: Platform
Component: general
2.6.8
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-14 04:39 UTC by Mike Hommey
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mike Hommey 2004-04-14 04:39:57 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.
Comment 1 William M. Brack 2004-04-14 09:49:54 UTC

*** This bug has been marked as a duplicate of 139520 ***
Comment 2 Daniel Veillard 2004-04-19 00:02:27 UTC
  This should be closed by release 2.6.9,
                                                                                
   thanks,
                                                                                
Daniel