File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
exist-core/src/main/java/org/exist/xquery/functions/map Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -259,12 +259,10 @@ private Sequence merge(final Sequence[] args) throws XPathException {
259
259
throw new XPathException (this , ErrorCodes .FOJS0005 , "value for duplicates key was not recognised: " + mapValue .getStringValue ());
260
260
}
261
261
} else {
262
- // TODO(AR) the XQ3.1 spec says that the default for fn:merge#2 should be USE_FIRST... this needs to be revised in a major release of eXist-db
263
- mergeDuplicates = MergeDuplicates .USE_LAST ;
262
+ mergeDuplicates = MergeDuplicates .USE_FIRST ;
264
263
}
265
264
} else {
266
- // TODO(AR) the XQ3.1 spec says that the default for fn:merge#1 should be USE_FIRST... this needs to be revised in a major release of eXist-db
267
- mergeDuplicates = MergeDuplicates .USE_LAST ;
265
+ mergeDuplicates = MergeDuplicates .USE_FIRST ;
268
266
}
269
267
270
268
final Sequence maps = args [0 ];
You can’t perform that action at this time.
0 commit comments