(: Name: id-typeswitch-expr-01 :) (: Description: Evaluation of insert expression used with typeswitch expression where the operand is an updating expression. :) (: insert-start :) declare variable $input-context external; (: insert-end :) typeswitch(insert node 23000 into $input-context/employees[1]/employee[1]) case $i as xs:string return "test should fail" case $i as xs:double return "test should fail" default return "test should fail"