Fix #3; allow some invalid xml