Remove invalid char check in xml reader