title: google chrome - opening an xml file via hyperlink show xml as regular text
body: <p>i want to show an xml file inside an iframe.
  it works fine in firefox and ie but in chrome show the xml as text.</p>
  
  <p>so i wanted to check if this is a general problem.
  for example:
  if i use the <a href="http://www.w3schools.com/xml/xml_examples.asp" rel="nofollow">View an XML food menu</a> link that is located in <a href="http://www.w3schools.com/xml/xml_examples.asp" rel="nofollow">http://www.w3schools.com/xml/xml_examples.asp</a> then i get the xml shown as a text file.</p>
  
  <p>if i right click the link and chose open in new tab it will show the xml as it should.
  or if i open a new tab and put the url <a href="http://www.w3schools.com/xml/simple.xml" rel="nofollow">http://www.w3schools.com/xml/simple.xml</a> it shows the file as an xml file.</p>
  
  <p>if you press the right mouse button and select "open in a new tab" it will show the xml as it should.</p>
  
  <p>i think that whatever causes  this problem causes the problem i am facing.
  so my questions are:</p>
  
  <ol>
  <li>what causes this ?</li>
  <li>is there a way around this problem ?</li>
  <li>is this a bug in chrome ? </li>
  </ol>
  
  <p>thanks.</p>
  
  <p><em>chrome version is 11.0.696.65</em></p>
  
  <p><em>OS: windows xp,i have also checked this in windows 7</em></p>