Some errors don't have line or column, return None

re.search() can return None, if it does don't try to return not existant
restults
Merge pull request #5 from coledarr/xml_error_fix

Some errors don't have line or column, return None