jQuery AJAX doesn't return XML with Internet Explorer 10

jQuery AJAX doesn't return XML with Internet Explorer 10

When called from within Internet Explorer 10, jQuery doesn't return a valid XML document object.

What's going wrong?

Here's the test code:

  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.     <title></title>
  5.     <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
  6.     <script type="text/javascript">
  7.         var url = "test.xml"

  8.         $(function ()
  9.         {
  10.             $.get(encodeURI(url), function (data)
  11.             {
  12.                 data.setProperty("SelectionLanguage", "XPath");     // error !
  13.             },"xml");
  14.         });
  15.     </script>
  16. </head>
  17. <body>
  18. </body>
  19. </html>



Another jQuery API browser:
http://www.dashop.de/?hf=blog_f.html&if=blog/en/dev/JavaScript/content/JavaScript-jQuery-API-Documentation-Viewer.html