Actions
Bug #2994
closedXdmAtomicValue does not have a usable equals() method.
Start date:
2016-10-12
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7
Fixed in Maintenance Release:
Platforms:
Description
We allow conversion of an XDM map to a Java Map<XdmAtomicValue, XdmValue> using the method XdmItem.asMap().
However the resulting map is not useful because XdmAtomicValue lacks a usable equals() method; it simply inherits Object.equals(), whereby (new XdmAtomicValue(1).equals(new XdmAtomicValue(1)) returns false.
Please register to edit this issue
Actions