Change id: map-get
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-817[+]
X fn-function-lookup-817: 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', 'get'), 2)) |
no result | pass | pass | pass | pass | pass |
fn-function-lookup-818[+]
X fn-function-lookup-818: 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', 'get'), 2)(map{}, 1) |
no result | pass | pass | pass | pass | pass |
map-get-001[+]
X map-get-001: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 4) |
pass | pass | pass | pass | pass | pass |
map-get-002[+]
X map-get-002: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 23) |
pass | pass | pass | pass | pass | pass |
map-get-003[+]
X map-get-003: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{}, 23) |
pass | pass | pass | pass | pass | pass |
map-get-004[+]
X map-get-004: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map:entry("foo", "bar"), "baz") |
pass | pass | pass | pass | pass | pass |
map-get-005[+]
X map-get-005: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map:entry("foo", "bar"), "foo") |
pass | pass | pass | pass | pass | pass |
map-get-006[+]
X map-get-006: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map:entry("foo", "bar"), xs:untypedAtomic("foo")) |
pass | pass | pass | pass | pass | pass |
map-get-007[+]
X map-get-007: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map:entry(xs:untypedAtomic("foo"), "bar"), "foo") |
pass | pass | pass | pass | pass | pass |
map-get-008[+]
X map-get-008: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map:entry(xs:untypedAtomic("12"), "bar"), 12) |
pass | pass | pass | pass | pass | pass |
map-get-009[+]
X map-get-009: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map:entry(12, "bar"), xs:untypedAtomic("12")) |
pass | pass | pass | pass | pass | pass |
map-get-010[+]
X map-get-010: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 4.0e0) |
pass | pass | pass | pass | pass | pass |
map-get-011[+]
X map-get-011: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{1:"Sunday",2:"Monday",3:"Tuesday",4.0e0:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}, 4) |
pass | pass | pass | pass | pass | pass |
map-get-012[+]
X map-get-012: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-013[+]
X map-get-013: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-014[+]
X map-get-014: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-015[+]
X map-get-015: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-016[+]
X map-get-016: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get( 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-get-017[+]
X map-get-017: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-018[+]
X map-get-018: Created on: 2011-03-25 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-019[+]
X map-get-019: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{1:"Sunday",2:"Monday",3:"Tuesday",4:(),5:"Thursday",6:"Friday",7:"Saturday"}, 4) |
pass | pass | pass | pass | pass | pass |
map-get-020[+]
X map-get-020: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{"su":"Sunday","mo":"Monday","tu":"Tuesday","we":"Wednesday","th":"Thursday","fr":"Friday","sa":"Saturday"}, "TH") |
pass | pass | pass | pass | pass | pass |
map-get-021[+]
X map-get-021: Created on: 2014-05-16 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{"foo":"bar", "bar":"foo"}, xs:untypedAtomic("foo")) |
pass | pass | pass | pass | pass | pass |
map-get-022[+]
X map-get-022: Created on: 2014-05-16 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{xs:untypedAtomic("foo"):"bar", xs:untypedAtomic("bar"):"foo"}, "foo") |
pass | pass | pass | pass | pass | pass |
map-get-023[+]
X map-get-023: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ spec = XP31+ XQ31+ XT30+ Test: map:get(map{current-dateTime():100, current-dateTime()=>adjust-dateTime-to-timezone(()):101}, current-dateTime()) |
pass | pass | pass | pass | pass | pass |
map-get-024[+]
X map-get-024: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ spec = XP31+ XQ31+ XT30+ Test: map:get(map{current-date():100, current-date()=>adjust-date-to-timezone(()):101}, current-date()=>adjust-date-to-timezone(())) |
pass | pass | pass | pass | pass | pass |
map-get-025[+]
X map-get-025: Created on: 2015-06-10 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(map{number('NaN'):100, 12e6:101}, xs:float('NaN')) |
pass | pass | pass | pass | pass | pass |
map-get-100[+]
X map-get-100: Created on: 2011-03-25 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ XT30+ Test: fn:for-each(("we", "th"), map{"su":"Sunday","mo":"Monday","tu":"Tuesday","we":"Wednesday","th":"Thursday","fr":"Friday","sa":"Saturday"} ) |
pass | pass | pass | pass | pass | pass |
map-get-901[+]
X map-get-901: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-902[+]
X map-get-902: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(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-get-903[+]
X map-get-903: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get(("a", "b", "c"), "a") |
pass | pass | pass | pass | pass | pass |
map-get-904[+]
X map-get-904: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get((), "a") |
pass | pass | pass | pass | pass | pass |
map-get-905[+]
X map-get-905: Created on: 2011-03-25 Spec Dependencies: feature = higherOrderFunctions spec = XP31+ XQ31+ XT30+ Test: map:get(abs#1, "a") |
pass | pass | pass | pass | pass | pass |
map-get-906[+]
X map-get-906: Created on: 2011-03-25 Spec Dependencies: spec = XP31+ XQ31+ XT30+ Test: map:get((map{}, map{"a":"b"}), "a") |
pass | pass | pass | pass | pass | pass |
d1e41054[+]
X d1e41054: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; map:get($deptnames, "ACC") |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e60955[+]
X d1e60955: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {3:"first", 4:"second", 5:()}; map:get($map1,3) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e60966[+]
X d1e60966: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {3:"first", 4:"second", 5:()}; map:get($map1,5) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e60976[+]
X d1e60976: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {3:"first", 4:"second", 5:()}; map:get($map1,6) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e60986[+]
X d1e60986: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map1 := map {3:"first", 4:"second", 5:()}; map:get($map1,"3") |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |