title: ElementTree XPath strange behaviour
body: <p>Hi<br>
  I'm using <code>ElementTree</code> (1.3) with Python 2.7 and enjoy XPath functionality,<br>
  however one of search results surprised me.  </p>
  
  <p>My XML example:</p>
  
  <pre><code>&lt;OTF&gt;
    &lt;FECS state="disabled" version="2.2.0.0"&gt;
      &lt;BackEndCompatibility major="2.2" state="disabled"&gt;
          &lt;BackEnd state="disabled" version="2.2.0.0"/&gt;
      &lt;/BackEndCompatibility&gt;
    &lt;/FECS&gt;
  &lt;/OTF&gt;
  </code></pre>
  
  <p><strong>Question 1:</strong><br>
  When I use <code>findall</code> to get first found element</p>
  
  <pre><code>version = "2.2.0.0"
  found = list(txml.findall(".//BackEnd[@version='%s']" % version))
  return found and found[0] or None
  </code></pre>
  
  <p>it finds nothing.  </p>
  
  <p>However when I change XML file, so that <code>BackEnd</code> element contains <em>subelements</em>,  </p>
  
  <pre><code>        &lt;BackEnd state="disabled" version="2.2.0.0"&gt;
             &lt;any_dummy_element/&gt; 
          &lt;/BackEnd&gt;
  </code></pre>
  
  <p>then searched element is found properly.  </p>
  
  <p>Did you face such a behaviour?<br>
  Am I doing sth wrong or this is a bug in <code>ElementTree</code> implementation?</p>
  
  <p><strong>Question 2:</strong><br>
  Another issue I have is <code>xmlns</code>.<br>
  Let's assume I change XML first line to contain <code>xmlns</code>:</p>
  
  <pre><code>&lt;OTF xmlns="http://si-wiki/OTFCompatibility"&gt;
  &lt;/OTF&gt;
  </code></pre>
  
  <p>In such a case I have to change find string to:  </p>
  
  <pre><code>".//{http://si-wiki/OTFCompatibility}BackEnd[@version='%s']"
  </code></pre>
  
  <p>Is there any way to tell ElementTree to ignore xmlns during parsing and treat all elements' names (including root) like they had no prefix?  </p>
  
  <p>Regards,<br>
  Zbigniew</p>