Fixing XML Parse Errors