title: Need to read XML files as a stream using BeautifulSoup in Python
body: <p>I have a dilemma.</p>
  
  <p>I need to read very large XML files from all kinds of sources, so the files are often invalid XML or malformed XML. I still must be able to read the files and extract some info from them. I do need to get tag information, so I need XML parser.</p>
  
  <p>Is it possible to use Beautiful Soup to read the data as a stream instead of the whole file into memory?</p>
  
  <p>I tried to use ElementTree, but I cannot because it chokes on any malformed XML.</p>
  
  <p>If Python is not the best language to use for this project please add your recommendations.</p>