title: Why is IE8 on XP not properly reading from XML using JQuery?
body: <p>Given this XML in data.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;data&gt;
    &lt;bar&gt;100&lt;/bar&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>I want to display the content from the "bar" element using the following code in test.html</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;script type="text/javascript"&gt;
    $.get('data.xml', function(xml) {
      var foo = $(xml).find('bar').text();
      document.write("&lt;span&gt;foo: [" + foo + "]&lt;/span&gt;");
    });
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The output in webkit based browsers:  </p>
  
  <pre><code>foo: [100]
  </code></pre>
  
  <p>The output in IE8 on XP:  </p>
  
  <pre><code>foo: []
  </code></pre>
  
  <p>Why do webkit browsers read the element's content correctly while IE8 interprets it as an empty string?</p>