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 648327 - Certain absolute XPath expressions change the XPathContext::node field.
Certain absolute XPath expressions change the XPathContext::node field.
Status: RESOLVED DUPLICATE of bug 775683
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-20 16:56 UTC by Krzysztof Konopko
Modified: 2017-06-08 12:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Krzysztof Konopko 2011-04-20 16:56:03 UTC
The scenario is that I set the XPathContext::node to some xmlNode to evaluate relative XPath expressions and I expect the XPathContext to keep the root node I set.

For some certain absolute XPath expressions this is not asserted. See the attached example.
Comment 1 Nick Wellnhofer 2017-06-08 12:21:16 UTC

*** This bug has been marked as a duplicate of bug 775683 ***