better xml parser error output