FOTS: TypeswitchExpr related issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Markos Zaharioudakis |
Bug Description
http://
The following 8 test cases fail in Zorba:
test set "prod-Typeswitc
test cases : "typeswitch-
"typeswitch-
xquery version '3.0';
declare namespace op = 'http://
declare namespace f = 'http://
declare option op:enable 'f:hof';
typeswitch (<e/>)
case $i as xs:integer | xs:string return $i
default $v return 0
"typeswitch-
xquery version '3.0';
declare namespace op = 'http://
declare namespace f = 'http://
declare option op:enable 'f:hof';
typeswitch (<e/>)
case xs:integer | xs:string return 1
default $v return 0
"typeswitch-
xquery version '3.0';
declare namespace op = 'http://
declare namespace f = 'http://
declare option op:enable 'f:hof';
typeswitch (47)
case $i as xs:integer | xs:string return $i
default $v return 0
Changed in zorba: | |
importance: | Medium → High |
Changed in zorba: | |
assignee: | Matthias Brantner (matthias-brantner) → nobody |
assignee: | nobody → Markos Zaharioudakis (markos-za) |
Changed in zorba: | |
milestone: | 2.8 → 2.9 |
Changed in zorba: | |
status: | Triaged → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
Those tests don't work because Zorba doesn't implement union types, yet.