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 129932 - xinlucde, always full aquired infoset is included
xinlucde, always full aquired infoset is included
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2003-12-24 03:29 UTC by Oleg Paraschenko
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oleg Paraschenko 2003-12-24 03:29:30 UTC
Code from CVS, dated by 23 December 2003. Processing XIncludes in 2003
namespace.

----- <included.xml>
<p>included</p>
----- </included.xml>

----- <document.xml>
<doc>
  <xi:include
    href="included.xml"
    parse="xml"
    xpointer="xpointer(/None)"
    xmlns:xi="http://www.w3.org/2003/XInclude"/>
</doc>
----- </document.xml>

After processing XIncludes I get

----- <result>
<doc>
  <p>included</p>
</doc>
----- </result>

although

----- <expected>
<doc />
----- </expected>

It looks like always full document referenced by "href" is included,
regardless of "xpointer" value.
Comment 1 Daniel Veillard 2003-12-24 11:06:32 UTC
Dohhhh, right !
This was completely broken and I got fooled by a too simple test.
This is fixed in CVS, thanks a lot for the heads-up

Daniel
Comment 2 Oleg Paraschenko 2003-12-24 18:50:14 UTC
Thank you, fixed.

Congratulations with Christmas!