fix issue142 forcing xml param to be a string when passing it to re.findall()