support broken XML