Change id: postfix-lookup
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) |
---|---|---|---|---|---|---|
Lookup-001[+]
X Lookup-001: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])[.?1 eq 'c'] |
pass | pass | pass | pass | pass | pass |
Lookup-002[+]
X Lookup-002: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: let $i := 1 return (['a', 'b'], ['c', 'd'])[.?($i) eq 'c'] |
pass | pass | pass | pass | pass | pass |
Lookup-003[+]
X Lookup-003: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])[ .? 001 eq 'c'] |
pass | pass | pass | pass | pass | pass |
Lookup-004[+]
X Lookup-004: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])[ .? -1 eq 'c'] |
pass | pass | pass | pass | pass | pass |
Lookup-005[+]
X Lookup-005: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])[ .?0 eq 'c'] |
pass | pass | pass | pass | pass | pass |
Lookup-006[+]
X Lookup-006: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'], ['e'])[ .?2 eq 'b'] |
pass | pass | pass | pass | pass | pass |
Lookup-007[+]
X Lookup-007: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[ .?(1 to 2) = 'b'] |
pass | pass | pass | pass | pass | pass |
Lookup-008[+]
X Lookup-008: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: let $i := (1, 3) return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[ .?($i) = 'b'] |
pass | pass | pass | pass | pass | pass |
Lookup-009[+]
X Lookup-009: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[ .?first = 'b'] |
pass | pass | pass | pass | pass | pass |
Lookup-010[+]
X Lookup-010: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: let $d := current-date() return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[ .?($d) = 'b'] |
pass | pass | pass | pass | pass | pass |
Lookup-011[+]
X Lookup-011: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: let $d := function($x) {$x + .?2} return $d(12) |
pass | pass | pass | pass | pass | pass |
Lookup-012[+]
X Lookup-012: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (1 to 10)[.?1 = 3] |
pass | pass | pass | pass | pass | pass |
Lookup-013[+]
X Lookup-013: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: (floor#1, ceiling#1, round#1, abs#1)[.?1 = 1] |
pass | pass | pass | pass | pass | pass |
Lookup-014[+]
X Lookup-014: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[ .?* = 'c'] |
pass | pass | pass | pass | pass | pass |
Lookup-015[+]
X Lookup-015: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: ([1, [2], [3]], [[2], 2, [4]])[ .?1 = .?2 ] |
pass | pass | pass | pass | pass | pass |
Lookup-016[+]
X Lookup-016: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[contains(.?1, ?, 'http://www.w3.org/2005/xpath-functions/collation/codepoint')('a')] |
pass | pass | pass | pass | pass | pass |
Lookup-017[+]
X Lookup-017: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[contains(.?1, ?)('a')] |
pass | pass | pass | pass | pass | pass |
Lookup-018[+]
X Lookup-018: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[.?1.0 = 'a'] |
pass | pass | pass | pass | pass | pass |
Lookup-019[+]
X Lookup-019: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[.?(1.0) = 'a'] |
pass | pass | pass | pass | pass | pass |
Lookup-020[+]
X Lookup-020: Created on: 2014-11-27 Spec Dependencies: spec = XQ31+ feature = schemaValidation Test: let $x := (validate type xs:integer {<x>1</x>}, validate type xs:integer {<y>2</y>}) return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[.?($x) = 'b'] |
no result | n/a
notXP31 |
pass | n/a | pass | pass |
Lookup-021[+]
X Lookup-021: Created on: 2014-11-27 Spec Dependencies: spec = XQ31+ Test: let $x := (<x>1</x>, <y>2</y>) return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[.?($x) = 'b'] |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
Lookup-022[+]
X Lookup-022: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: [['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b']]?*[.?1 = 'a'] |
pass | pass | pass | pass | pass | pass |
Lookup-023[+]
X Lookup-023: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: [['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b']]!.?*!.?1 |
pass | pass | pass | pass | pass | pass |
Lookup-024[+]
X Lookup-024: Created on: 2014-11-27 Spec Dependencies: spec = XQ31+ Test: let $x := (<x>1</x>, <y>2</y>) return $x / .?1 |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
Lookup-025[+]
X Lookup-025: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])[exists(.?())] |
pass | pass | pass | pass | pass | pass |
Lookup-040[+]
X Lookup-040: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{'a':1, 'b':2, 'c':3}, map{'a':2, 'b':3, 'c':4})[.?b eq 3] |
pass | pass | pass | pass | pass | pass |
Lookup-041[+]
X Lookup-041: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})[.?2 eq 3] |
pass | pass | pass | pass | pass | pass |
Lookup-042[+]
X Lookup-042: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})[.?(1 to 2) = 3] |
pass | pass | pass | pass | pass | pass |
Lookup-043[+]
X Lookup-043: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{'a-1':1, 'b-1':2, 'c-1':3}, map{'a-1':2, 'b-1':3, 'c-1':4})[.?b-1 eq 3] |
pass | pass | pass | pass | pass | pass |
Lookup-044[+]
X Lookup-044: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{'a-1':1, 'b-1':2, 'c-1':3}, map{'a-1':2, 'b-1':3, 'c-1':4})[.? (:confusing.?:) b-1 eq 3] |
pass | pass | pass | pass | pass | pass |
Lookup-045[+]
X Lookup-045: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})[.?* = 3] |
pass | pass | pass | pass | pass | pass |
Lookup-046[+]
X Lookup-046: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})[exists(.?())] |
pass | pass | pass | pass | pass | pass |
Lookup-101[+]
X Lookup-101: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])?1 |
pass | pass | pass | pass | pass | pass |
Lookup-102[+]
X Lookup-102: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: let $i := 1 return (['a', 'b'], ['c', 'd'])?($i) |
pass | pass | pass | pass | pass | pass |
Lookup-103[+]
X Lookup-103: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])? 001 |
pass | pass | pass | pass | pass | pass |
Lookup-104[+]
X Lookup-104: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])? -1 |
pass | pass | pass | pass | pass | pass |
Lookup-105[+]
X Lookup-105: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'])?0 |
pass | pass | pass | pass | pass | pass |
Lookup-106[+]
X Lookup-106: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b'], ['c', 'd'], ['e'])?2 |
pass | pass | pass | pass | pass | pass |
Lookup-107[+]
X Lookup-107: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?(1 to 2) |
pass | pass | pass | pass | pass | pass |
Lookup-108[+]
X Lookup-108: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: let $i := (1, 3) return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?($i) |
pass | pass | pass | pass | pass | pass |
Lookup-109[+]
X Lookup-109: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b']) ?first |
pass | pass | pass | pass | pass | pass |
Lookup-110[+]
X Lookup-110: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: let $d := current-date() return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?($d) |
pass | pass | pass | pass | pass | pass |
Lookup-111[+]
X Lookup-111: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: let $d := function($x) {$x?2} return $d([12, 13]) |
pass | pass | pass | pass | pass | pass |
Lookup-112[+]
X Lookup-112: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (1 to 10)?1 |
pass | pass | pass | pass | pass | pass |
Lookup-113[+]
X Lookup-113: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: (floor#1, ceiling#1, round#1, abs#1)?1 |
pass | pass | pass | pass | pass | pass |
Lookup-114[+]
X Lookup-114: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?* |
pass | pass | pass | pass | pass | pass |
Lookup-115[+]
X Lookup-115: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: ([1, [2], [3]], [[2], 2, [4]])?3 = 3 |
pass | pass | pass | pass | pass | pass |
Lookup-116[+]
X Lookup-116: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: ['a', 'b', 'c'] treat as array(*)??1 |
pass | pass | pass | pass | pass | pass |
Lookup-117[+]
X Lookup-117: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: ['a', 'b', 'c'] treat as array(*) ? 1 |
pass | pass | pass | pass | pass | pass |
Lookup-118[+]
X Lookup-118: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?1.0 |
pass | pass | pass | pass | pass | pass |
Lookup-119[+]
X Lookup-119: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?(1.0) |
pass | pass | pass | pass | pass | pass |
Lookup-120[+]
X Lookup-120: Created on: 2014-11-27 Spec Dependencies: spec = XQ31+ feature = schemaValidation Test: let $x := (validate type xs:integer {<x>1</x>}, validate type xs:integer {<y>2</y>}) return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?($x) |
no result | n/a
notXP31 |
pass | n/a | pass | pass |
Lookup-121[+]
X Lookup-121: Created on: 2014-11-27 Spec Dependencies: spec = XQ31+ Test: let $x := (<x>1</x>, <y>2</y>) return (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?($x) |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
Lookup-122[+]
X Lookup-122: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: [['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b']]?*?* |
pass | pass | pass | pass | pass | pass |
Lookup-123[+]
X Lookup-123: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (['a', 'b', 'c'], ['b', 'c', 'd'], ['e', 'f', 'b'])?() |
pass | pass | pass | pass | pass | pass |
Lookup-140[+]
X Lookup-140: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{'a':1, 'b':2, 'c':3}, map{'a':2, 'b':3, 'c':4})?b |
pass | pass | pass | pass | pass | pass |
Lookup-141[+]
X Lookup-141: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})?2 |
pass | pass | pass | pass | pass | pass |
Lookup-142[+]
X Lookup-142: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{2:3, 3:4, 4:5})?(1 to 2) |
pass | pass | pass | pass | pass | pass |
Lookup-143[+]
X Lookup-143: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{'a-1':1, 'b-1':2, 'c-1':3}, map{'a-1':2, 'b-1':3, 'c-1':4})?c-1 |
pass | pass | pass | pass | pass | pass |
Lookup-144[+]
X Lookup-144: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{'a-1':1, 'b-1':2, 'c-1':3}, map{'a-1':2, 'b-1':3, 'c-1':4})? (:confusing.?:) b-1 |
pass | pass | pass | pass | pass | pass |
Lookup-145[+]
X Lookup-145: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})?* |
pass | pass | pass | pass | pass | pass |
Lookup-146[+]
X Lookup-146: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1:1, 2:2, 3:3}, map{1:2, 2:3, 3:4})?() |
pass | pass | pass | pass | pass | pass |
Lookup-147[+]
X Lookup-147: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: ()?banana |
pass | pass | pass | pass | pass | pass |
Lookup-148[+]
X Lookup-148: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: ()?12 |
pass | pass | pass | pass | pass | pass |
Lookup-149[+]
X Lookup-149: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: (())?(()) |
pass | pass | pass | pass | pass | pass |
Lookup-150[+]
X Lookup-150: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: [floor#1, ceiling#1, round#1, abs#1]?2(1.3) |
pass | pass | pass | pass | pass | pass |
Lookup-151[+]
X Lookup-151: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: map{'f':floor#1, 'c':ceiling#1, 'r':round#1, 'a':abs#1}?c(1.3) |
pass | pass | pass | pass | pass | pass |
Lookup-152[+]
X Lookup-152: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: map{'f':floor#1, 'c':ceiling#1, 'r':round#1, 'a':abs#1}?("c")(1.3) |
pass | pass | pass | pass | pass | pass |
Lookup-153[+]
X Lookup-153: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: map{'f':floor#1, 'c':ceiling#1, 'r':round#1, 'a':abs#1}[1]?("c")(1.3) |
pass | pass | pass | pass | pass | pass |
Lookup-154[+]
X Lookup-154: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: map{'f':floor#1, 'c':ceiling#1, 'r':round#1, 'a':abs#1}?*!.(1.3) |
pass | pass | pass | pass | pass | pass |
Lookup-155[+]
X Lookup-155: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: map{'or':true(), 'and':true(), 'but':false()} ? or or 2 = 3 |
pass | pass | pass | pass | pass | pass |
Lookup-156[+]
X Lookup-156: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: map{'xs:decimal':true(), 'xs:integer':true(), 'xs:polygon':false()} ? xs:integer |
pass | pass | pass | pass | pass | pass |
Lookup-157[+]
X Lookup-157: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: map{'decimal':true(), 'integer':true(), 'polygon':false()} ? Q{}integer |
pass | pass | pass | pass | pass | pass |
Lookup-158[+]
X Lookup-158: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: [map{'decimal':true(), 'integer':true(), 'polygon':false()}, map{}] ?1?decimal |
pass | pass | pass | pass | pass | pass |
Lookup-159[+]
X Lookup-159: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: map{'decimal':true(), 'integer':true(), 'polygon':[11,22,33]}?polygon?2 |
pass | pass | pass | pass | pass | pass |
Lookup-160[+]
X Lookup-160: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: some $x in map{'decimal':true(), 'integer':true(), 'polygon':false()}?* satisfies $x |
pass | pass | pass | pass | pass | pass |
Lookup-161[+]
X Lookup-161: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: count(map{'decimal':true(), 'integer':true(), 'polygon':false()}?*[.]) |
pass | pass | pass | pass | pass | pass |
Lookup-162[+]
X Lookup-162: Created on: 2014-11-27 Spec Dependencies: spec = XP31+ XQ31+ Test: max(map{'decimal':12, 'integer':18, 'polygon':-4}?*) |
pass | pass | pass | pass | pass | pass |
Lookup-163[+]
X Lookup-163: Created on: 2015-07-17 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1.1:1, 2.2:2, 3.3:3}, map{1.1:2, 2.2:3, 3.3:4})?2.2 |
pass | pass | pass | pass | pass | pass |
Lookup-164[+]
X Lookup-164: Created on: 2015-07-17 Spec Dependencies: spec = XP31+ XQ31+ Test: (map{1.1:1, 2.2:2, 3.3:3}, map{1.1:2, 2.2:3, 3.3:4})?(2.2) |
pass | pass | pass | pass | pass | pass |
Lookup-165[+]
X Lookup-165: Created on: 2016-04-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $x := map{"div":18} return $x?div |
pass | pass | pass | pass | pass | pass |
Lookup-166[+]
X Lookup-166: Created on: 2016-04-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $x := map{"else":18} return exists($x[?else = 18]) |
pass | pass | pass | pass | pass | pass |
Lookup-167[+]
X Lookup-167: Created on: 2016-04-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $x := map{"div":81, "div-2":18} return $x?div-2 |
pass | pass | pass | pass | pass | pass |
Lookup-168[+]
X Lookup-168: Created on: 2016-04-20 Spec Dependencies: spec = XP31+ XQ31+ Test: let $x := map{"else":81, "else-2":18} return exists($x[?else-2 = 18]) |
pass | pass | pass | pass | pass | pass |
Lookup-211[+]
X Lookup-211: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: [1, 2, 3](1.1) |
no result | pass | pass | pass | pass | pass |
Lookup-212[+]
X Lookup-212: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: [1, 2, 3]?0 |
no result | pass | pass | pass | pass | pass |
Lookup-213[+]
X Lookup-213: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: [1, 2, 3]?4 |
no result | pass | pass | pass | pass | pass |
Lookup-214[+]
X Lookup-214: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: [1, 2, 3](-1) |
no result | pass | pass | pass | pass | pass |
Lookup-215[+]
X Lookup-215: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: let $k := 2 to 3 return ['A', 'B', 'C']?($k) |
no result | pass | pass | pass | pass | pass |
Lookup-216[+]
X Lookup-216: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: ['A', 'B', 'C']?(2 to 3) |
no result | pass | pass | pass | pass | pass |
Lookup-217[+]
X Lookup-217: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: ['A', 'B', 'C']?* |
no result | pass | pass | pass | pass | pass |
Lookup-218[+]
X Lookup-218: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: fn:data([['A', 'B', 'C'], ['D', 'E'], []]?2) |
no result | pass | pass | pass | pass | pass |
Lookup-219[+]
X Lookup-219: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: fn:data([['A', 'B', 'C'], ['D', 'E'], []]?3) |
no result | pass | pass | pass | pass | pass |
Lookup-220[+]
X Lookup-220: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: [['A', 'B', 'C'], ['D', 'E'], []]?1?2 |
no result | pass | pass | pass | pass | pass |
Lookup-221[+]
X Lookup-221: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: fn:data([['A', 'B', 'C'], ['D', 'E'], []]?*?*) |
no result | pass | pass | pass | pass | pass |
Lookup-222[+]
X Lookup-222: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: []?* |
no result | pass | pass | pass | pass | pass |
Lookup-223[+]
X Lookup-223: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: []?*?* |
no result | pass | pass | pass | pass | pass |
Lookup-224[+]
X Lookup-224: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: []?2 |
no result | pass | pass | pass | pass | pass |
Lookup-225[+]
X Lookup-225: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: (['A', 'B', 'C'], ['D', 'E'])?2 |
no result | pass | pass | pass | pass | pass |
Lookup-226[+]
X Lookup-226: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: (['A', 'B', 'C'], ['D', 'E'], [])?2 |
no result | pass | pass | pass | pass | pass |
Lookup-227[+]
X Lookup-227: Created on: 2014-10-28 Spec Dependencies: spec = XP31+ XQ31+ Test: [[1, 2, 3], map:entry(3, 5)]?*?3 |
no result | pass | pass | pass | pass | pass |
UseCaseJSON-010[+]
X UseCaseJSON-010: Created on: 2014-12-23 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: <html> <body> <table> <tr> { (: Column headings :) <th> </th>, for $th in json-doc("table.json")("col labels")?* return <th>{ $th }</th> } </tr> { (: Data for each row :) for $r at $i in json-doc("table.json")("data")?* return <tr> { <th>{ json-doc("table.json")("row labels")[$i] }</th>, for $c in $r?* return <td>{ $c }</td> } </tr> } </table> </body> </html> |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseJSON-011[+]
X UseCaseJSON-011: Created on: 2014-12-23 Spec Dependencies: spec = XQ31+ Test: <table>{ for tumbling window $w in json-doc("colors.json")?* start at $x when fn:true() end at $y when $y - $x = 2 return <tr>{ for $i in $w return <td>{ $i?color }</td> }</tr> }</table> |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseNLP-001[+]
X UseCaseNLP-001: Created on: 2014-12-30 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: <s> { for $w in json-doc('speech-representation.json')?* return <w pos="{ $w(2) }">{ $w(1) }</w> } </s> |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseNLP-002[+]
X UseCaseNLP-002: Created on: 2014-12-30 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: declare variable $index := map { "pos" : 2, "lemma" : 1 }; <s> { for $w in json-doc('speech-representation.json')?* return <w pos="{ $w($index("pos")) }">{ $w($index("lemma")) }</w> } </s> |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseNLP-003[+]
X UseCaseNLP-003: Created on: 2014-12-30 Spec Dependencies: spec = XP31+ XQ31+ feature = higherOrderFunctions Test: array { for $w in json-doc('speech-representation.json')?* return map { "pos" : $w(2), "lemma" : $w(1) } } |
pass | pass | pass | pass | pass | pass |
UseCaseNLP-004[+]
X UseCaseNLP-004: Created on: 2014-12-30 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: for $word in json-doc('speech-representation.json')?* let $pos := $word(2) let $lexeme := $word(1) where $pos = ("JJ", "NN", "RB", "VB") group by $pos order by $pos return <pos name="{$pos}"> { for $l in distinct-values($lexeme) return <lexeme>{ $l }</lexeme> } </pos> |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseNLP-005[+]
X UseCaseNLP-005: Created on: 2014-12-30 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: declare function local:words-only($s) { for $w in $s where not($w(2) = (".", ",", ";", ":")) return $w(1) }; for sliding window $w in local:words-only(json-doc('speech-representation.json')?*) start at $i when true() only end at $j when $j - $i eq 2 return array { $w } |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseNLP-006a[+]
X UseCaseNLP-006a: Created on: 2014-12-30 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: declare function local:filter($s as item()*, $p as function(item()) as xs:boolean) { array { $s[$p(.)] }, array { $s[not($p(.))] } }; let $f := function($a) { starts-with($a(2), "VB") } return local:filter(json-doc('speech-representation.json')?*, $f) |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseNLP-006b[+]
X UseCaseNLP-006b: Created on: 2014-12-30 Spec Dependencies: spec = XQ31+ feature = higherOrderFunctions Test: declare function local:filter($s as item()*, $p as function(item()) as xs:boolean) { map { true() : array { $s[$p(.)] }, false() : array { $s[not($p(.))] } } }; let $f := function($a) { starts-with($a(2), "VB") } return local:filter(json-doc('speech-representation.json')?*, $f) |
pass | n/a
notXP31 |
pass | n/a | pass | pass |
UseCaseR31-002[+]
X UseCaseR31-002: Created on: 2014-04-24 Spec Dependencies: spec = XQ31+ spec = XQ30+ Test: for $e in /employees/employee, $d in $e/department group by $d return map { "department" : $d, "highest paid employee" : let $max := max($e/salary) return $e[salary=$max]/name/text()} |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-022[+]
X UseCaseR31-022: Created on: 2014-04-24 Spec Dependencies: spec = XQ31+ spec = XQ30+ Test: json-doc("http://www.w3.org/qt3/app/UseCaseR31/mildred-json")?phone?*[?type = 'mobile']?number |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-026[+]
X UseCaseR31-026: Created on: 2014-04-24 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ spec = XQ30+ Test: for $sarah in collection($users-collection-uri), $friend in collection($users-collection-uri) where $sarah('name') = "Sarah" and $friend('name') = $sarah('friends')?* return $friend('name') |
fail | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-027[+]
X UseCaseR31-027: Created on: 2014-04-24 Spec Dependencies: feature = higherOrderFunctions spec = XQ31+ spec = XQ30+ Test: Q{http://www.w3.org/2005/xpath-functions/map}merge( for $sales in collection($sales-collection-uri) let $pname := $sales('product') group by $pname return map { $pname : sum(for $s in $sales return $s('quantity')) }) |
fail | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-028[+]
X UseCaseR31-028: Created on: 2014-04-24 Spec Dependencies: spec = XQ31+ spec = XQ30+ Test: declare namespace map="http://www.w3.org/2005/xpath-functions/map"; declare variable $storesVar := array { unparsed-text-lines("UseCaseR31/stores.json") ! parse-json(.) }; declare variable $productsVar := array { unparsed-text-lines("UseCaseR31/products.json") ! parse-json(.) }; declare variable $salesVar := array { unparsed-text-lines("UseCaseR31/sales.json") ! parse-json(.) }; array { for $store in $storesVar ? * let $state := $store?state group by $state order by $state return map { $state : array { for $product in $productsVar ? * let $category := $product?category group by $category order by $category return map { $category : map:merge(( for $sales in $salesVar ? * where $sales?("store number") = $store?("store number") and $sales?product = $product?name let $pname := $sales?product group by $pname return map { $pname : sum(for $s in $sales return $s?quantity)} )) } } } } |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-031[+]
X UseCaseR31-031: Created on: 2014-04-24 Spec Dependencies: spec = XQ31+ spec = XQ30+ Test: <html><body><table> <tr> (: Column headings :) { <th> </th>, for $th in json-doc('http://www.w3.org/qt3/app/UseCaseR31/table-json')?col-labels?* return <th>{ $th }</th> } </tr> { (: Data for each row :) for $r at $i in json-doc('http://www.w3.org/qt3/app/UseCaseR31/table-json')?data?* return <tr> { <th>{ json-doc('http://www.w3.org/qt3/app/UseCaseR31/table-json')?row-labels[$i] }</th>, for $c in $r?* return <td>{ $c }</td> } </tr> } </table> </body> </html> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
UseCaseR31-032[+]
X UseCaseR31-032: Created on: 2014-04-24 Spec Dependencies: spec = XQ31+ spec = XQ30+ Test: <table>{ for tumbling window $w in json-doc("http://www.w3.org/qt3/app/UseCaseR31/colors-json")?colors?* start at $x when fn:true() end at $y when $y - $x = 2 return <tr>{ for $i in $w?color return <td>{ $i }</td> }</tr> }</table> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41173[+]
X d1e41173: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; $deptnames?("ACC") |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41180[+]
X d1e41180: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; $deptnames?("ACC","MEN") |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41194[+]
X d1e41194: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; $deptnames?(doc("catalog.xml")//@dept) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41194b[+]
X d1e41194b: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; $deptnames?* |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41213[+]
X d1e41213: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $map-with-integer-keys := map{ 10:"a", 20:"b"}; $map-with-integer-keys?20 |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41225[+]
X d1e41225: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptnames := map { "ACC" : "Accessories", "WMN" : "Women's", "MEN" : "Men's" }; $deptnames?ACC |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41255[+]
X d1e41255: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptinfo := map { "ACC": map { "deptname": "Accessories", "deptnum": 300 } , "WMN": map { "deptname": "Women's", "deptnum": 310 } , "MEN": map { "deptname": "Men's", "deptnum": 320 } }; for $prod in doc("catalog.xml")//product return <product num="{$prod/number}" dept-name="{$deptinfo?($prod/@dept)?deptname}" dept-code="{$deptinfo?($prod/@dept)?deptnum}"/> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41271[+]
X d1e41271: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptinfo := map { "ACC": map { "deptname": "Accessories", "deptnum": 300 } , "WMN": map { "deptname": "Women's", "deptnum": 310 } , "MEN": map { "deptname": "Men's", "deptnum": 320 } }; deep-equal( $deptinfo?*[?deptname = "Accessories"], map { "deptname": "Accessories", "deptnum": 300 }) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41301[+]
X d1e41301: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $deptinfo := map { "ACC": map { "deptname": "Accessories", "deptnum": 300 } , "WMN": map { "deptname": "Women's", "deptnum": 310 } , "MEN": map { "deptname": "Men's", "deptnum": 320 } }; $deptinfo?*[?deptname = "Accessories"]?deptnum |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41791[+]
X d1e41791: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; $array-of-ints?(2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41795[+]
X d1e41795: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; $array-of-ints?(2,3) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41803[+]
X d1e41803: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; $array-of-ints?(1 to 2) |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41803b[+]
X d1e41803b: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; $array-of-ints?2 |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41803c[+]
X d1e41803c: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; $array-of-ints?* |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41709e[+]
X d1e41709e: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; declare variable $array-of-arrays := [ ["a","b","c"], ["d","e","f"] ]; $array-of-arrays?2?1 |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |
d1e41709f[+]
X d1e41709f: Created on: 2015-06-10 Spec Dependencies: spec = XQ31+ Test: declare variable $array-of-ints := [10,20,30]; declare variable $array-of-arrays := [ ["a","b","c"], ["d","e","f"] ]; $array-of-arrays?* |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |