Bug #4612
closedXPath expression "function($x){true()}(17)" crashes "$elaborate$$ is not a function"
100%
Description
XPath expression 'function($x){true()}(17)' crashes "$elaborate$$ is not a function".
It compiles to an InlineFunction
object whose body
property is null.
Updated by Michael Kay over 4 years ago
- Status changed from New to In Progress
- Assignee changed from Michael Kay to John Lumley
Literal.exportSingle()
doesn't output the expression properties for case "AB" - Literal.js line 54.
Changes this fixes the problem.
I note that the case "AQ" branch also doesn't output the supplied properties. JWL to review, please?
Updated by Debbie Lockett about 4 years ago
- Category set to Internals
- Status changed from In Progress to Resolved
- Fix Committed on JS Branch 2.0 added
Marking as resolved: a further code patch was committed to the saxon-js-enterprise git repo on 2020-06-29 ("SaxonJS2 - correction to AB and AQ literals").
Updated by Community Admin almost 4 years ago
- Applies to JS Branch 2 added
- Applies to JS Branch deleted (
2.0)
Updated by Community Admin almost 4 years ago
- Fix Committed on JS Branch 2 added
- Fix Committed on JS Branch deleted (
2.0)
Updated by Debbie Lockett over 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 2.1
Bug fix applied in the Saxon-JS 2.1 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page