1. 13 Mar, 2019 2 commits
  2. 20 Feb, 2019 1 commit
    • Nick Wellnhofer's avatar
      Always set context node before calling XPath iterators · 08b62c25
      Nick Wellnhofer authored
      The xmlXPathNext* iterators rely on the XPath context node being set to
      the start node of the iteration. Some parts of the code base like the
      xsl:key functions also leave the context node in an unspecified state.
      Make sure that the context node is reset before invoking the XPath
      iterators. Also backup and restore the context node in
      xsltNumberFormatGetMultipleLevel for good measure.
      
      This bug could also lead to type confusion and invalid reads in
      connection with namespace nodes.
      
      Fixes #13. Also see the Chromium bug report:
      
      https://bugs.chromium.org/p/chromium/issues/detail?id=930663
      
      Thanks to Nicolas Grégoire for the report.
      08b62c25
  3. 15 Feb, 2019 2 commits
  4. 12 Feb, 2019 11 commits
  5. 03 Jan, 2019 1 commit
  6. 21 Nov, 2018 1 commit
    • Nick Wellnhofer's avatar
      Don't cache direct evaluation of patterns with variables · a846514a
      Nick Wellnhofer authored
      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.
      a846514a
  7. 26 Sep, 2018 1 commit
    • Nick Wellnhofer's avatar
      Move function result RVTs to context variable · 5e16672d
      Nick Wellnhofer authored
      If a variable with a "select" expression calls an EXSLT func:function,
      the context variable must be restored before evaluating the function
      result. This makes sure that the RVTs in the result will be moved to
      the context variable's fragment list when they're released in
      xsltReleaseLocalRVTs or xsltReleaseLocalRVTs.
      
      Thanks to Nikolai Weibull for the report.
      5e16672d
  8. 22 Sep, 2018 1 commit
  9. 31 Aug, 2018 1 commit
  10. 24 Jul, 2018 2 commits
  11. 16 Jan, 2018 2 commits
  12. 29 Nov, 2017 5 commits
  13. 04 Nov, 2017 2 commits
  14. 02 Nov, 2017 3 commits
  15. 31 Oct, 2017 2 commits
  16. 25 Oct, 2017 3 commits