Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37536 - libxml2 Version 2.5.11 Doesn't Properly Support XInclude
Summary: libxml2 Version 2.5.11 Doesn't Properly Support XInclude
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-07 15:49 UTC by Steven Elling
Modified: 2004-01-10 01:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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