Different exception for invalid XML