TS: Fixed XML reader of case expressions.