-
- Downloads
Don't cache direct evaluation of patterns with variables
The slow pattern matching path in xsltTestCompMatchDirect caches the result of evaluating the pattern. But this can't be done if the pattern contains variables which could evaluate to different values. Only enable the cache for patterns like template matches that don't allow variable references. Don't use the cache for "count" and "from" patterns in xsl:number. A more fine-grained approach would be nice, but most effort should be spent on eliminating the slow path completely. Thanks to Martin Honnen for the report. Fixes #6.
tests/docs/bug-214.xml
0 → 100644
tests/general/bug-214.out
0 → 100644
tests/general/bug-214.xsl
0 → 100644
Please register or sign in to comment