1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00
libxml2/result/XPath
Nick Wellnhofer c2f4da1a93 Improve XPath predicate and filter evaluation
Consolidate code paths evaluating XPath predicates and filters.

Don't push context node on stack when evaluating predicates. I have no
idea why this was done. It seems completely useless and trying to pop
the context node from a corrupted stack has already caused security
issues.

Filter nodesets in-place and don't create node sets with NULL gaps which
allows to simplify merging a great deal. Simply move matched nodes
backward and create a compact node set.

Merge xmlXPathCompOpEvalPositionalPredicate into
xmlXPathCompOpEvalPredicate.
2019-04-22 14:48:46 +02:00
..
expr Fix float casts in xmlXPathSubstringFunction 2019-03-08 14:29:59 +01:00
tests Improve XPath predicate and filter evaluation 2019-04-22 14:48:46 +02:00
xptr Fix XPointer paths beginning with range-to 2016-10-12 13:12:18 +02:00