More robust XForm validation error munging