title: WordPress XML ParseError: unbound prefix?
body: <p>I am trying to use Python's xml.etree.ElementTree.parse() function to parse an XML file I created by exporting all of the content from a WordPress blog.  However, when I try like so:</p>
  
  <pre><code>import xml.etree.ElementTree as xml
  tree = xml.parse('/path/to/file.xml')
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse
  tree.parse(source, parser)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
  parser.feed(data)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
  self._raiseerror(v)
    File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
  raise err
  ParseError: unbound prefix: line 189, column 1
  </code></pre>
  
  <p>Here's what's on line 189 of my XML file:</p>
  
  <pre><code>&lt;atom:link rel="search" type="application/opensearchdescription+xml" href="http://blogname.wordpress.com/osd.xml" title="blog name" /&gt;
  </code></pre>
  
  <p>I've seen many questions about this error coming up with Android development, but I can't tell if and how that applies to my situation.  Can anyone help with this?</p>