blob: dc255957450d47940cad3e9dff17865666fc5363 [file] [log] [blame]
(:*******************************************************:)
(: Test: K-sequenceExprTypeswitch-3 :)
(: Written by: Frans Englich :)
(: Date: 2006-10-05T18:29:37+02:00 :)
(: Purpose: typeswitch test: A string literal is of type xs:string, even though it can be promoted to xs:untypedAtomic. :)
(:*******************************************************:)
(typeswitch("a string")
case xs:untypedAtomic return -1
case xs:string return 1
default return -2)
eq 1