[FIX] XQuery, #703: raise error if Java string has invalid XML chars