|
Implementations | ||||||||||||||||
Tests | BaseX 7.7 XQ30 |
EMC/xDB xDB_main_r2411365 XQ30 |
Saxon-EE 9.5.1.1 XP20 |
Saxon-EE 9.5.1.1 XQ10 |
Saxon-EE 9.5.1.1 XP30 |
Saxon-EE 9.5.1.1 XQ30 |
Saxon-EE 9.5.1.4 XQX30 (QT3 v1.1) |
XmlPrime 3.0.0.0 XP30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX30 (QT3 vCVS) |
XmlPrime 3.0.0.0 XP20 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQX10 (QT3 vCVS) |
XmlPrime 3.0.0.0 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ10 (QT3 vCVS) |
Zorba 2.9 XQ30 (QT3 vCVS) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
prod-SwitchExpr* | 22/22 | 20/22 | 0/0 | 0/0 | 0/0 | 22/22 | 16/22 | 0/0 | 22/22 | 22/22 | 0/0 | 0/0 | 0/0 | 0/0 | 22/22 | 1/15 |
switch-001[+]
X switch-001: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-002[+]
X switch-002: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-003[+]
X switch-003: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-004[+]
X switch-004: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-005[+]
X switch-005: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-006[+]
X switch-006: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-007[+]
X switch-007: 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 | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-008[+]
X switch-008: 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 | fail | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-009[+]
X switch-009: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-010[+]
X switch-010: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-011[+]
X switch-011: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-012[+]
X switch-012: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-013[+]
X switch-013: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-901[+]
X switch-901: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-902[+]
X switch-902: 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 | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-903[+]
X switch-903: xquery version "3.0"; declare variable $in := 2; <out>{ switch ($in) default return "Baa" }</out> |
pass | pass | pass | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-904[+]
X switch-904: 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 | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-905[+]
X switch-905: 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 | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-906[+]
X switch-906: 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 | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-907[+]
X switch-907: 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 | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-908[+]
X switch-908: 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 | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass | |
switch-909[+]
X switch-909: 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 | pass | no result | n/a
notXP20 |
n/a
notXQ10 |
n/a
notXP30 |
pass | n/a | pass | pass | n/a | n/a | n/a | n/a
Dependency (type=spec, value=XQ30+, satisfied=true) was not met. |
pass |