Correcting XML