This bug has been copied from bug #613860 and has been proposed to be backported to 5.5 z-stream (EUS).
Fix provided in bug #613860 and confirmed by the reporter as fixing the issue, Daniel
libxml2-2.6.26-2.1.2.8.el5_5.1 has been built in RHEL-5.5-Z-candidate with the fix, Daniel
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Due to an uninitialized field in one of the private libxml2 XPath data structures, the XPath evaluation may have return incorrect results. This error has been fixed, the field is now initialized properly, and XPath evaluation returns expected results.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0764.html