Change id: map-for-each
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-function-lookup-815[+]
X fn-function-lookup-815: 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', 'for-each'), 2)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-816[+]
X fn-function-lookup-816: 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', 'for-each'), 2)(map{}, concat#2) |
no result | pass | pass | pass | pass | pass |
map-for-each-001[+]
X map-for-each-001: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map{}, concat#2) |
pass | pass | pass | pass | pass | pass |
map-for-each-002[+]
X map-for-each-002: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:merge(()), function($k,$v){$k||$v}) |
pass | pass | pass | pass | pass | pass |
map-for-each-003[+]
X map-for-each-003: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map{"a":1}, function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-004[+]
X map-for-each-004: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:entry("a", "1"), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-005[+]
X map-for-each-005: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:merge((map:entry("a", "1"), map:entry("b", 2))), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-006[+]
X map-for-each-006: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map{"a":1, "b":2}, function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-007[+]
X map-for-each-007: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map{"a":1, "a":2}, function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-008[+]
X map-for-each-008: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:merge((map:entry("a",1), map:entry("a",2))), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-009[+]
X map-for-each-009: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:remove(map{"a":1,"b":2}, "b"), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-010[+]
X map-for-each-010: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:remove(map:entry(1,2),1), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-011[+]
X map-for-each-011: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:remove(map:remove(map{"a":1,"b":2},"b"),"a"), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-012[+]
X map-for-each-012: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map{number('NaN'):1,"b":2}, function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-013[+]
X map-for-each-013: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:remove(map{"a":1,"b":2}, "c"), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-014[+]
X map-for-each-014: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map:merge(for $n in 1 to 500000 return map:entry($n, $n+1)), function($k,$v){$k}) |
pass | pass | pass | pass | pass | pass |
map-for-each-015[+]
X map-for-each-015: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:for-each(map{"a":1, "b":2}, function($k,$v){$k||$v}) |
pass | pass | pass | pass | pass | pass |
map-for-each-016[+]
X map-for-each-016: Created on: 2014-05-13 Spec Dependencies: spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: map:merge(map:for-each(map{"a":1, "b":2}, function($k,$v){map{$v : $k}})) |
pass | pass | pass | pass | pass | pass |
map-for-each-017[+]
X map-for-each-017: Created on: 2014-05-13 Spec Dependencies: spec = XQ31+ spec = XP31+ XQ31+ XT30+ feature = higherOrderFunctions Test: <e>{map:for-each(map{"a":1, "b":2}, function($k,$v){attribute{$k}{$v}})}</e> |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
d1e41517[+]
X d1e41517: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; let $f := function($k,$v) {concat('Key: ',$k,', value: ',$v)} return map:for-each($deptnames,$f) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e57961[+]
X d1e57961: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; map:for-each($map1,function($k,$v) {concat($k,$v)}) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e57972[+]
X d1e57972: Created on: 2015-06-10 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second"}; deep-equal( map:merge(map:for-each($map1,function($k,$v) {map:entry($k + 1, $v)})), map {2:"first", 3:"second"} ) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |