Two accumulators with same name in different packages
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 about 6 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).
Please register to edit this issue