1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-15 23:24:06 +03:00
Nick Wellnhofer 5af594d8bc Fix comparison of nodesets to strings
Fix two bugs in xmlXPathNodeValHash which could lead to errors when
comparing nodesets to strings:

- Only use contents of text nodes to compute the hash for element nodes.
  Comments, PIs, and other node types don't affect the string-value and
  must be ignored.
- Reset `string` to NULL for node types other than text.

Reported by Aleksei on the mailing list:

    https://mail.gnome.org/archives/xml/2017-September/msg00016.html
2017-10-07 15:22:57 +02:00
..
2009-07-09 10:26:22 +02:00
2017-06-12 18:26:11 +02:00
1999-06-02 17:44:04 +00:00
2000-08-27 21:12:29 +00:00
1999-11-17 17:32:38 +00:00
1999-11-17 17:32:38 +00:00
2000-08-27 21:12:29 +00:00
2000-08-27 21:12:29 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00
1999-06-02 17:44:04 +00:00