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.
so i wanted to check if this is a general problem.
if i use the View an XML food menu link that is located in http://www.w3schools.com/xml/xml_examples.asp then i get the xml shown as a text file.
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 http://www.w3schools.com/xml/simple.xml it shows the file as an xml file.
if you press the right mouse button and select "open in a new tab" it will show the xml as it should.
i think that whatever causes this problem causes the problem i am facing.
so my questions are:
- what causes this ?
- is there a way around this problem ?
- is this a bug in chrome ?
chrome version is 11.0.696.65
OS: windows xp,i have also checked this in windows 7