搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox cannot load .xml webpage but IE loads it OK

  • 4 回覆
  • 3 有這個問題
  • 40 次檢視
  • 最近回覆由 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