ENH: allow fallback when lxml fails to parse