Project

Profile

Help

Bug #5855

closed

map:merge with duplicates=combine gives wrong answer

Added by Mary Holstege almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
XPath Conformance
Sprint/Milestone:
-
Start date:
2023-01-25
Due date:
% Done:

100%

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

Description

See attached files for specifics. The maps being merged are computed in a for loop with computed keys and values.

Run as XSLT, the results are correct. Running compiled to JS using Saxon-JS, the results are incorrect: all the keys pick up stray values they shouldn't have.


Files

README.txt (1.36 KB) README.txt Output and more details Mary Holstege, 2023-01-25 21:20
mapmerge.sef.json (9.86 KB) mapmerge.sef.json Compiled stylesheet Mary Holstege, 2023-01-25 21:20
mapmerge.html (640 Bytes) mapmerge.html HTML file (local paths) Mary Holstege, 2023-01-25 21:20
mapmerge.xsl (2.51 KB) mapmerge.xsl Stylesheet Mary Holstege, 2023-01-25 21:20

Please register to edit this issue

Also available in: Atom PDF Tracking page