Improve error messages on XML that does not make us happy.