Bug #2527
closedFailure calling a function returned from a template
100%
Description
Failure running XSLT3 test case higher-order-functions-072, newly created in the course of investigating bug 2523.
The test attempts to return an inline function from a template and then invoke it; the function contains a nested inline function, whose closure refers to the template parameters.
Fails on both 9.6 and 9.7. The error is FOTY0013, cannot atomize a function item (or map), caused by supplying a map as the value of an argument where a string is expected.
Updated by Michael Kay almost 9 years ago
- Status changed from New to Resolved
Fixed in XPathParserPE on both the 9.6 and 9.7 branches.
The problem was that with nested inline functions within an XSLT template/function, where the innermost function contains a reference to a variable declared at the XSLT level, it was being bound directly to the XSLT variable, rather than setting up a chain of bindings via the parameters of the intermediate functions.
Updated by O'Neil Delpratt almost 9 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.6.0.8
Bug fix applied in the Saxon 9.6.0.8 maintenance release
Updated by O'Neil Delpratt almost 9 years ago
- Applies to branch 9.6 added
- Fix Committed on Branch 9.6 added
- Fixed in Maintenance Release 9.6.0.8 added
Please register to edit this issue