Project

Profile

Help

Bug #3436

closed

Two accumulators with same name in different packages

Added by Michael Kay over 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XSLT Conformance
Sprint/Milestone:
-
Start date:
2017-09-11
Due date:
% Done:

100%

Estimated time:
Applies to JS Branch:
0.9, 1.0, Trunk
Fix Committed on JS Branch:
Trunk
Fixed in JS Release:
SEF Generated with:
Platforms:
Company:
-
Contact person:
-
Additional contact persons:
-

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.

Actions #1

Updated by Michael Kay over 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).

Actions #2

Updated by Debbie Lockett almost 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
Actions #3

Updated by Debbie Lockett almost 4 years ago

  • Category set to XSLT Conformance

Please register to edit this issue

Also available in: Atom PDF Tracking page