Change id: map-remove
Implementations | ||||||
Tests | BaseX 8.5 beta XQ31 (QT3 vCVS) |
Saxon-EE 9.7.0.11 XP31 (QT3 v0.6) |
Saxon-EE 9.7.0.11 XQ31 (QT3 v0.6) |
XmlPrime 4.0.0.16079 XP31 (QT3 vCVS) |
XmlPrime 4.0.0.26293 XQ31 (QT3 vCVS) |
XmlPrime 4.0.0.27704 XQX31 (QT3 vCVS) |
---|---|---|---|---|---|---|
fn-deep-equal-maps-15[+]
X fn-deep-equal-maps-15: Created on: 2014-10-14 Spec Dependencies: spec = XP31+ XQ31+ Test: fn:deep-equal(map{1:"A"}, map:remove(map{1:"A", 2:"B"}, 2)) |
pass | pass | pass | pass | pass | pass |
fn-function-lookup-827[+]
X fn-function-lookup-827: Created on: 2016-09-09 Spec Dependencies: spec = XP31+ XQ31+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: exists(function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions/map', 'remove'), 2)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-828[+]
X fn-function-lookup-828: Created on: 2016-09-09 Spec Dependencies: spec = XP31+ XQ31+ spec = XP30+ XQ30+ feature = higherOrderFunctions Test: function-lookup(fn:QName('http://www.w3.org/2005/xpath-functions/map', 'remove'), 2)(map{},1) |
no result | pass | pass | pass | pass | pass |
map-remove-001[+]
X map-remove-001: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map{}, 1) |
pass | pass | pass | pass | pass | pass |
map-remove-002[+]
X map-remove-002: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:merge(()), "abcd") |
pass | pass | pass | pass | pass | pass |
map-remove-003[+]
X map-remove-003: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map{"a":1}, "a") |
pass | pass | pass | pass | pass | pass |
map-remove-005[+]
X map-remove-005: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:entry("a", "1"), "b") |
pass | pass | pass | pass | pass | pass |
map-remove-006[+]
X map-remove-006: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:merge((map:entry("a", "1"), map:entry("b", 2))), "b") |
pass | pass | pass | pass | pass | pass |
map-remove-007[+]
X map-remove-007: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:merge((map:entry("a", "1"), map:entry("b", 2))), "c") |
pass | pass | pass | pass | pass | pass |
map-remove-008[+]
X map-remove-008: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:merge((map:entry(12, 1), map:entry(13, 2))), 12e0) |
pass | pass | pass | pass | pass | pass |
map-remove-009[+]
X map-remove-009: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:merge((map:entry("a",1), map:entry("b",2))), xs:untypedAtomic("b")) |
pass | pass | pass | pass | pass | pass |
map-remove-010[+]
X map-remove-010: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map{"a":1,"b":"xyz"}, "b") |
pass | pass | pass | pass | pass | pass |
map-remove-011[+]
X map-remove-011: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map{"a":1,12:"xyz"}, 12) |
pass | pass | pass | pass | pass | pass |
map-remove-012[+]
X map-remove-012: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:remove(map:merge(for $n in 1 to 500000 return map:entry($n, $n+1)), 123456) |
pass | pass | pass | pass | pass | pass |
map-remove-013[+]
X map-remove-013: Created on: 2011-03-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: deep-equal(map:remove(map{"a":1,"b":(2,3)}, "a"), map:entry("b", (2,3))) |
pass | pass | pass | pass | pass | pass |
map-remove-014[+]
X map-remove-014: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ spec = XP31+ XQ31+ XT30+ Test: map{current-dateTime():100, current-dateTime()=>adjust-dateTime-to-timezone(()):101} => map:remove(current-dateTime()) => map:get(current-dateTime()=>adjust-dateTime-to-timezone(())) |
pass | pass | pass | pass | pass | pass |
map-remove-015[+]
X map-remove-015: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ spec = XP31+ XQ31+ XT30+ Test: map{xs:double('1.25'):0} => map:remove(xs:float('1.25')) => map:size() |
pass | pass | pass | pass | pass | pass |
map-remove-016[+]
X map-remove-016: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ spec = XP31+ XQ31+ XT30+ Test: map{xs:float('1.0'):0, xs:double('1.00000000001'):1} => map:remove(xs:decimal('1.0000000000100000000001')) => map:size() |
pass | pass | pass | pass | pass | pass |
map-remove-017[+]
X map-remove-017: Created on: 2016-05-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: deep-equal(map:remove(map{"a":1,"b":(2,3), "c":1 to 5}, ("a", "c")), map:entry("b", (2,3))) |
pass | pass | pass | pass | pass | pass |
map-remove-018[+]
X map-remove-018: Created on: 2016-05-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:size(map:remove(map{"a":1,"b":(2,3), "c":1 to 5}, ())) = 3 |
pass | pass | pass | pass | pass | pass |
map-remove-019[+]
X map-remove-019: Created on: 2016-05-27 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: deep-equal(map:remove(map{"a":1,"b":(2,3), "c":1 to 5}, ("a", "c", "d")), map:entry("b", (2,3))) |
pass | pass | pass | pass | pass | pass |
UseCaseJSON-014[+]
X UseCaseJSON-014: Created on: 2014-12-23 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: let $feed := json-doc("incoming.json")("feed") , $entry := $feed("entry") return if ($entry?*("app$control")("yt$state")("name") = "restricted") then map:remove($feed, "entry") else $feed |
pass | pass | pass | pass | pass | pass |
d1e41301f[+]
X d1e41301f: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; deep-equal(map:remove($deptnames,"ACC"), map { "WMN" : "Women's", "MEN" : "Men's" } ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e71660[+]
X d1e71660: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; deep-equal( map:remove($map1,2), map {1:"first"} ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e71671[+]
X d1e71671: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; deep-equal( map:remove($map1,3), map {1:"first", 2:"second"} ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e71682[+]
X d1e71682: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; deep-equal( map:remove($map1,"abc"), map {1:"first", 2:"second"} ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |