title: xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 104, column 109
body: <p>I am trying to parse an itunes xml library with python and element Tree, which is of this form:</p>
  
  <pre><code>&lt;plist version="1.0"&gt;
      &lt;dict&gt;
          &lt;key&gt;Major Version&lt;/key&gt;
          &lt;integer&gt;1&lt;/integer&gt;
          &lt;key&gt;Minor Version&lt;/key&gt;
          &lt;integer&gt;1&lt;/integer&gt;
          ...
          ...
          ...
          &lt;dict&gt;
              &lt;key&gt;Track ID&lt;/key&gt;
              &lt;integer&gt;156&lt;/integer&gt;
              &lt;key&gt;Name&lt;/key&gt;
              &lt;string&gt;Stairway to heaven&lt;/string&gt;
              ...
              ...
           &lt;/dict&gt;
           &lt;dict&gt;
              &lt;key&gt;Track ID&lt;/key&gt;
              &lt;integer&gt;342&lt;/integer&gt;
              &lt;key&gt;Name&lt;/key&gt;
              &lt;string&gt;Summer of 69&lt;/string&gt;
              ...
              ...
           &lt;/dict&gt;
      &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>I tried to parse it with:
      import xml.etree.ElementTree as ET</p>
  
  <pre><code>fname = input('Enter file name: ')
  stuff = ET.parse(fname)
  </code></pre>
  
  <p>BUT i get an error like this: "xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 104, column 109". I searched through Stackoverflow before posting but i couldn't find any helpful to my situation post. Can anyone either post any relative post that i might have accidentally skipped or help? </p>
  
  <p>P.S. I have tried changing the encoding to 'utf-8' but nothing happened. I have also tried:</p>
  
  <pre><code>parser = etree.XMLParser(recover=True)
  </code></pre>
  
  <p>but nothing changed either.</p>