搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox cannot load .xml webpage but IE loads it OK

  • 4 个回答
  • 3 人有此问题
  • 19 次查看
  • 最后回复者为 wembleybear

more options

When I try to access this website in Internet Explorer it works fine, but in Firefox I get the following error message: In the unlikely event that you are reading this instead of seeing the file layouts as expected it means that your browser is not displaying the frames correctly. Your browser must support frames for this document to work. It also needs to support XML and XSLT, as well as Javascript and CSS."

The website is: http://www.mcscustomerclub.com/xml/schema324.xml and contains a file data dictionary.

The website is a password-protected resource, it accepts my username and password but then gives the error message above. In IE it displays the dictionary straight after I enter my username and password.

I have:

1) Cleared my cache and restarted Firefox 2) Javascript installed 3) In about:config, browser.frames.enabled is set to 'true' 4) Removed all add-ons, restarted Firefox and tried site again but did not work

I have tried it in Firefox on both my work and my home PC (version 20.0.1 on both machines) and it does not work on either machine. On IE it displays the dictionary correctly.

Does anyone know what is/could be wrong, and how I might correct it?

When I try to access this website in Internet Explorer it works fine, but in Firefox I get the following error message: In the unlikely event that you are reading this instead of seeing the file layouts as expected it means that your browser is not displaying the frames correctly. Your browser must support frames for this document to work. It also needs to support XML and XSLT, as well as Javascript and CSS." The website is: http://www.mcscustomerclub.com/xml/schema324.xml and contains a file data dictionary. The website is a password-protected resource, it accepts my username and password but then gives the error message above. In IE it displays the dictionary straight after I enter my username and password. I have: 1) Cleared my cache and restarted Firefox 2) Javascript installed 3) In about:config, browser.frames.enabled is set to 'true' 4) Removed all add-ons, restarted Firefox and tried site again but did not work I have tried it in Firefox on both my work and my home PC (version 20.0.1 on both machines) and it does not work on either machine. On IE it displays the dictionary correctly. Does anyone know what is/could be wrong, and how I might correct it?

被采纳的解决方案

Thanks again for your reply.

I have found a workaround so I can use the file in Firefox. I've simply saved it in Internet Explorer to my documents as an HTML file and set a link to the local file as a bookmark. Not ideal as it means I will have to check for any updates and download them on an occasional basis, but at least it works!

Kind regards Martyn

定位到答案原位置 👍 0

所有回复 (4)

more options

That page requires authentication as you posted, so we can't check it out to see if it can be replicated.

Do you see any errors related to this in the Error Console (Firefox/Tools > Web Developer; Ctrl+Shift+J) or Web Console (Firefox/Tools > Web Developer;Ctrl+Shift+K)?

Do a hard refresh (Ctrl+F5 or Ctrl+Shift+R) to bypass the cache and get fresh files from the server.


You can try to create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.

more options

Thanks for your reply

I've done a couple of hard refreshes this morning but results in the same error whichever way I do it.

I have created a new profile and tried website on the new profile - same problem. Gradually added in files from old profile but the error remains.

Result from the Error console and Web console I have attached as screenshots below, as well as an example screenshot of how the page renders on IE. I really would prefer not to have to use IE so I look forward to your further suggestions.

Thanks for looking at this in advance,

Martyn

more options

I see an error about document.all and that means that the website will only work properly in IE because other browser do not support this method of accessing elements.
Modern browser use document.getElementById() to access elements on web pages.

See:

more options

选择的解决方案

Thanks again for your reply.

I have found a workaround so I can use the file in Firefox. I've simply saved it in Internet Explorer to my documents as an HTML file and set a link to the local file as a bookmark. Not ideal as it means I will have to check for any updates and download them on an occasional basis, but at least it works!

Kind regards Martyn