Bug #3436
closedTwo accumulators with same name in different packages
100%
Description
For the same reasons as bug #3424 (two keys with the same name), we cannot have two accumulators with the same name in different packages evaluated against the same source document.
Revealed by test case override-misc-005.
Updated by Michael Kay over 7 years ago
- Status changed from New to Resolved
- Applies to JS Branch 0.9, 1.0, Trunk added
- Fix Committed on JS Branch Trunk added
Fixed using the same approach as #3424: a random identifier is allocated to an accumulator, and this is used in keying the accumulator from the document nodes, in place of the accumulator name. Again, this also allow multiple transformations to use the same stylesheet (the accumulator values may be different in different transformations if the initial value depends on a global parameter).
Updated by Debbie Lockett over 4 years ago
- Description updated (diff)
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 2.0
Please register to edit this issue
Also available in: Atom PDF Tracking page