Fixed grab for multiline and added XML read exception check.