Project

Profile

Help

Bug #4386

closed

setProperty and setParameter does not replace keys already in the map

Added by O'Neil Delpratt about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
C++ API
Start date:
2019-11-15
Due date:
% Done:

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.2.1
Fixed in version:
11.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

Reported in the forum post: https://saxonica.plan.io/boards/4/topics/7680

Across all the processors when we use the setProperty and setParameter methods if a key already exists in the properties or parameters map the value of the key is not updated with the new value.

A workaround would be to call clearProperties() and clearParameters() before updating new values. There is also a removeParameter method which can be used before the new parameter is updated/added.


Related issues

Related to SaxonC - Bug #5533: segfault when setting xslt parameter in a loopClosedO'Neil Delpratt2022-05-23

Actions

Please register to edit this issue

Also available in: Atom PDF