Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7903243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:42:04+00:00 2026-06-03T09:42:04+00:00

been following posts on this site for a while and find them very helpful.

  • 0

been following posts on this site for a while and find them very helpful. This is my first post, so bear with me.

I’m loading an XML file using ajax (once loaded i’m processing the information with jquery). It contains information i’m using to build thumbnails, picture galleries and slideshows. However the xml file doesn’t seem to load in firefox. IE and Safari have no problem doing so, so i’m cind of stuck. I havn’t tested chrome or opera yet, since they don’t allow local xml.

The thing is, the problem has only occured, since i changed the location of the xml file. It used to be in the same folder as the javascript file, in which i’m placing the ajax command. So the following worked fine in IE Safari and Firefox:

$.ajax({
    type: 'GET',
    url: 'projects.xml',
    dataType: 'xml',
    success: parseXML
});

Now that the xml is in a seperate folder a level up, firefox only loads it when i navigate to the html file via link (navigating to the html file via address bar or refresh results in firefox not loading the xml). So I’m suspecting Firefox has some trouble with the “../” expression. Is this true? Is this merely a problem from working offline? Here’s the code i’m now using:

$.ajax({
    type: 'GET',
    url: '../xml/projects.xml',
    dataType: 'xml',
    success: parseXML
}); 

Any help will be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:42:05+00:00Added an answer on June 3, 2026 at 9:42 am

    Firefox treats files in directories higher up the tree as not-same-origin when working with file:// URIs. This is to prevent local HTML files reading arbitrary data from your hard drive.

    So yes, this is due to your use of .. and only a problem when you use file:// URIs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been following a very helpful blog post by Xinyang Qiu for adding gacAssembly
I've been following this post http://martinciu.com/2011/01/mounting-grape-api-inside-rails-application.html I put the module into the lib directory
I've been following a few posts already on this topic. It seems that the
I have been through pretty much every post on this site it seems that
I have been following the following post on using multiple ItemTemplates in a ListView
I´ve been following StackOverflow for a few years, but rarely I needed to post
I been following a tutorial for making my webpage css 100% height from this
So I've been following this tutorial on JPagination and on the section about with
I have been following the answer of this question: How to update existing object
The jqGrid has been kicking my butt (as well as others on this site).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.