Change id: map-contains
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-809[+]
X fn-function-lookup-809: 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', 'contains'), 2)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-810[+]
X fn-function-lookup-810: 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', 'contains'), 2)(map{}, 0) |
no result | pass | pass | pass | pass | pass |
map-contains-001[+]
X map-contains-001: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 4) |
pass | pass | pass | pass | pass | pass |
map-contains-002[+]
X map-contains-002: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 23) |
pass | pass | pass | pass | pass | pass |
map-contains-003[+]
X map-contains-003: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{}, 23) |
pass | pass | pass | pass | pass | pass |
map-contains-004[+]
X map-contains-004: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map:entry("foo", "bar"), "baz") |
pass | pass | pass | pass | pass | pass |
map-contains-005[+]
X map-contains-005: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map:entry("foo", "bar"), "foo") |
pass | pass | pass | pass | pass | pass |
map-contains-006[+]
X map-contains-006: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map:entry("foo", "bar"), xs:untypedAtomic("foo")) |
pass | pass | pass | pass | pass | pass |
map-contains-007[+]
X map-contains-007: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map:entry(xs:untypedAtomic("foo"), "bar"), "foo") |
pass | pass | pass | pass | pass | pass |
map-contains-008[+]
X map-contains-008: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map:entry(xs:untypedAtomic("12"), "bar"), 12) |
pass | pass | pass | pass | pass | pass |
map-contains-009[+]
X map-contains-009: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map:entry(12, "bar"), xs:untypedAtomic("12")) |
pass | pass | pass | pass | pass | pass |
map-contains-010[+]
X map-contains-010: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 4.0e0) |
pass | pass | pass | pass | pass | pass |
map-contains-011[+]
X map-contains-011: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",4.0e0:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 4) |
pass | pass | pass | pass | pass | pass |
map-contains-012[+]
X map-contains-012: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday","urn:weds":"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, xs:anyURI("urn:weds")) |
pass | pass | pass | pass | pass | pass |
map-contains-013[+]
X map-contains-013: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",xs:anyURI("urn:weds"):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, "urn:weds") |
pass | pass | pass | pass | pass | pass |
map-contains-014[+]
X map-contains-014: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",xs:anyURI("urn:weds"):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, number('NaN')) |
pass | pass | pass | pass | pass | pass |
map-contains-015[+]
X map-contains-015: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",number('NaN'):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, number('NaN')) |
pass | pass | pass | pass | pass | pass |
map-contains-016[+]
X map-contains-016: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains( map:merge(((for $i in 1 to 1000 return map:entry($i, $i*$i)), (for $i in 2000 to 3000 return map:entry($i, $i+30)), (for $i in 2500 to 3500 return map:entry($i, $i+30)))), 3260) |
pass | pass | pass | pass | pass | pass |
map-contains-017[+]
X map-contains-017: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",xs:duration('P1Y'):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, xs:yearMonthDuration('P12M')) |
pass | pass | pass | pass | pass | pass |
map-contains-018[+]
X map-contains-018: Created on: 2011-03-25 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",function-name(abs#1):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, xs:QName('fn:abs')) |
pass | pass | pass | pass | pass | pass |
map-contains-019[+]
X map-contains-019: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",4:(),5:"Thursday",6:"Friday",7:"Saturday"}, 4) |
pass | pass | pass | pass | pass | pass |
map-contains-020[+]
X map-contains-020: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{"su":"Sunday","mo":"Monday","tu":"Tuesday","we":"Wednesday","th":"Thursday","fr":"Friday","sa":"Saturday"}, "TH") |
pass | pass | pass | pass | pass | pass |
map-contains-901[+]
X map-contains-901: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",number('NaN'):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, (1 to 5)[10]) |
pass | pass | pass | pass | pass | pass |
map-contains-902[+]
X map-contains-902: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(map{1:"Sunday",2:"Monday",3:"Tuesday",number('NaN'):"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, (1 to 5)[. mod 2 = 0]) |
pass | pass | pass | pass | pass | pass |
map-contains-903[+]
X map-contains-903: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains(("a", "b", "c"), "a") |
pass | pass | pass | pass | pass | pass |
map-contains-904[+]
X map-contains-904: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains((), "a") |
pass | pass | pass | pass | pass | pass |
map-contains-905[+]
X map-contains-905: Created on: 2011-03-25 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ XT30+ Test: map:contains(abs#1, "a") |
pass | pass | pass | pass | pass | pass |
map-contains-906[+]
X map-contains-906: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:contains((map{}, map{"a":"b"}), "a") |
pass | pass | pass | pass | pass | pass |
MapTest-020[+]
X MapTest-020: Created on: 2014-10-08 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ Test: let $f := function($m as map(xs:integer, xs:integer)) as xs:boolean { map:contains($m, 17) } return $f(map{17: xs:untypedAtomic('234')}) |
pass | pass | pass | pass | pass | pass |
d1e41301b[+]
X d1e41301b: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; map:contains($deptnames,"ACC") |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e51544[+]
X d1e51544: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second", 3:"third",4:()}; declare variable $map2 := map {}; map:contains($map1, 1) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e51555[+]
X d1e51555: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second", 3:"third",4:()}; declare variable $map2 := map {}; map:contains($map1, 4) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e51565[+]
X d1e51565: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second", 3:"third",4:()}; declare variable $map2 := map {}; map:contains($map1, 9) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e51576[+]
X d1e51576: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second", 3:"third",4:()}; declare variable $map2 := map {}; map:contains($map1, "1") |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e51592[+]
X d1e51592: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {1:"first", 2:"second", 3:"third",4:()}; declare variable $map2 := map {}; map:contains($map2, 1) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |