Fixed xml error parser