> I agree that the this is not the ideal error behaviour, but I guess the code was written from the
assumption that the document is valid and conformant.
Over time the crawler-commons sitemap parser has been extended to get as much as possible from
non-conforming sitemaps as well. Of course, it's hard to foresee and handle all possible mistakes...
The equivalent syntax error for sitemaps (missing closing/next <url> in <urlset> is handled.