|
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) |
|
---|---|---|---|---|---|---|---|
prod-SwitchExpr | 22/22 | 0/0 | 22/22 | 0/0 | 22/22 | 22/0 | 0/6 |
switch-001[+]
X switch-001: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $animal as xs:string := "Cat"; <out>{ switch ($animal) case "Cow" return "Moo" case "Cat" return "Meow" case "Duck" return "Quack" default return "What's that odd noise?" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-002[+]
X switch-002: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $animal as xs:string := "Dog"; <out>{ switch ($animal) case "Cow" return "Moo" case "Cat" return "Meow" case "Duck" return "Quack" default return "What's that odd noise?" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-003[+]
X switch-003: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $animal as xs:string := "!?!?"; <out>{ switch (upper-case($animal)) case "COW" return "Moo" case "CAT" return "Meow" case "DUCK" return "Quack" case lower-case($animal) return "Oink" default return "What's that odd noise?" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-004[+]
X switch-004: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $animal as xs:string := "goose"; <out>{ switch (upper-case($animal)) case "COW" return "Moo" case "CAT" return "Meow" case "DUCK" case "GOOSE" return "Quack" case "PIG" case "SWINE" return "Oink" default return "What's that odd noise?" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-005[+]
X switch-005: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $animal as xs:string := "duck"; <out>{ switch (upper-case($animal)) case "COW" return "Moo" case "CAT" return "Meow" case "DUCK" case "GOOSE" return "Quack" case "PIG" case "SWINE" return "Oink" default return "What's that odd noise?" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-006[+]
X switch-006: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $number as xs:decimal := 42; <out>{ switch ($number) case 21 return "Moo" case current-time() return "Meow" case 42 return "Quack" default return 3.14159 }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-007[+]
X switch-007: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := <a>42</a>; <out>{ switch ($in) case 42 return "Moo" case "42" return "Meow" case 42e0 return "Quack" case "42e0" return "Oink" default return "Expletive deleted" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-008[+]
X switch-008: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := "42"; <out>{ switch ($in) case 42 return "Moo" case <a>42</a> return "Meow" case 42e0 return "Quack" case "42e0" return "Oink" default return "Expletive deleted" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-009[+]
X switch-009: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := (); <out>{ switch ($in) case 42 return "Moo" case <a>42</a> return "Meow" case 42e0 return "Quack" case "42e0" return "Oink" case () return "Woof" default return "Expletive deleted" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-010[+]
X switch-010: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 21; <out>{ switch ($in) case 42 return "Moo" case <a>42</a> return "Meow" case 42e0 return "Quack" case "42e0" return "Oink" case () return "Woof" default return "Expletive deleted" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-011[+]
X switch-011: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := xs:double('NaN'); <out>{ switch ($in) case 42 return "Moo" case <a>42</a> return "Meow" case 42e0 return "Quack" case "42e0" return "Oink" case xs:float('NaN') return "Woof" default return "Expletive deleted" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-012[+]
X switch-012: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 25; declare variable $zero := 0; <out>{ switch ($in) case 42 return $in div $zero case 25 return "Baa" case 39 return $in div $zero default return "Woof" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-013[+]
X switch-013: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 25; declare variable $zero := 0; <out>{ switch ($in) case 42 return "Quack" case 25 return "Baa" case $in div $zero return "Neigh" default return "Woof" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-901[+]
X switch-901: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch (1 to $in) case 1 return "Moo" case 2 return "Meow" case 3 return "Quack" case 4 return "Oink" default return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-902[+]
X switch-902: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) case 1 return "Moo" case 5 return "Meow" case 3 return "Quack" case ($in to 4) return "Oink" default return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-903[+]
X switch-903: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) default return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-904[+]
X switch-904: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) case 1 return "Moo" case 5 return "Meow" case 3 return "Quack" case ($in to 4) return "Oink" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-905[+]
X switch-905: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) case 1 return "Moo" case 5 return "Meow" return "Quack" case ($in to 4) return "Oink" default return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-906[+]
X switch-906: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) case 1 return "Moo", "Boo" case 5 return "Meow" case 7 return "Quack" case 4 return "Oink" default return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-907[+]
X switch-907: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch $in case 1 return "Moo", "Boo" case 5 return "Meow" case 7 return "Quack" case 4 return "Oink" default return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-908[+]
X switch-908: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) { case 1 return "Moo", "Boo" case 5 return "Meow" case 7 return "Quack" case 4 return "Oink" default return "Baa" } }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass | |
switch-909[+]
X switch-909: Created on: 2010-03-16 Spec Dependencies: spec = XQ30+ Test: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) case 1: return "Moo", "Boo" case 5: return "Meow" case 7: return "Quack" case 4: return "Oink" default: return "Baa" }</out> |
pass | n/a
test-set dependencies not satisfied |
pass | n/a | pass | pass |