Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37536

Summary: libxml2 Version 2.5.11 Doesn't Properly Support XInclude
Product: Gentoo Linux Reporter: Steven Elling <ellingsw+20942>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Elling 2004-01-07 15:49:38 UTC
xmllint version 2.5.11 does not process XInclude elements when using the '--xinclude' option.

This also prevents XInclude from working in libxslt.

Reproducible: Always
Steps to Reproduce:
1. Use one of the examples in the "XML Inclusions (XInclude) Version 1.0" W3C Working Draft - http://www.w3.org/TR/xinclude/
2. Run 'xmllint --xinclude document.xml'
3. View the output and notice the include elements are still present.

Actual Results:  
xmllint outputs the original document without including the content of the
included file.

Expected Results:  
xmllint should of replaced the include elements with the content of the included
file.

libxml2 version 2.6.3 fixes the problem with XInclude.  Suggest bumping libxml2
version 2.6.3 to x86.

Upgrading libxml2 allows XInclude to work in libxslt.
Comment 1 foser (RETIRED) gentoo-dev 2004-01-07 16:13:23 UTC
2.6.3 is in ~, but i suppose it can go stable soon.
Comment 2 foser (RETIRED) gentoo-dev 2004-01-10 01:57:16 UTC
marked 2.6.3 x86