title: Parsing local XML file throws unterminated entity ref error
body: <p>When I try to parse my xml file</p>
  
  <pre><code>&lt;item&gt;
  &lt;year&gt;1990&lt;/year&gt;
  &lt;chapter&gt;Chapter 1&lt;/chapter&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p>From a URL, it works fine, but when I try to load from a local file, it throws a SAXParseException unterminated entity ref error. </p>