Sitemap

Amicuk Programming Answers

XML file not loading in FF from server

2015-10-11   Views:0

Advertisement

I've created a web page that loads an external XML file and then uses javascript code to parse the file for requested information. I know it's not the best way to do this, but I'm trying to get this working before I move on to "better" methods.

I've created a web page that loads an external XML file and
then uses javascript code to parse the file for requested
information. I know it's not the best way to do this, but I'm
trying to get this working before I move on to "better" methods.
When I run the page using the "Preview/Debug in browser"
funtionality of DW everything works great both in IE and FF. But
when I load the page to the server and then load the page in a
browser, it works in IE but not in FF. It looks as though FF is
just not loading the XML file. I can't figure out why the page
would work if launched from DW, but not work if the page is loaded
on the server and then run from there, and only in FF.
The code I'm using to load the XML file is supposed to be
cross-browser compatible. I've seen many versions like from various
sources, so it should be OK. I'm pretty new to all of this so I'm
hoping that I'm just missing something simple. Does anyone have any
idea why this is behaving this way?
Thanks for any help.

The replay answer
Advertisement
so, in frame 1 of your fla before you execute that cross-domain load method, use:
System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
</cross-domain-policy>

Go to See the other 6 answers

XML file not loading in FF from server

Category:DefaultRelease time:2015-10-11Views:130

I've created a web page that loads an external XML file and then uses javascript code to parse the file for requested information. I know it's not the best way to do this, but I'm trying to get this working before I move on to "better" methods.[More]

Xml file not loading from different server

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfo[More]

Xml file not loading

Category:DefaultRelease time:2015-10-11Views:130

i am trying to create an e-learning course that will have glossaries according to the various lessons that are within the overall course. i have attached the code that i am using to quickly switch out the glossary xml file (that contains the definiti[More]

XML file not properly read from Appc Server. Partial records filled into IT

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am reading an XML file from the application Server. only 2 records are comming to the Internal table. Other records are not coming to the Internal Table. It's giving Sy-Subrc 4 after 2 iterations. Below is my code. Kindly suggest. open dataset[More]

XML file not loading...HELP!

Category:DefaultRelease time:2015-10-11Views:130

Hello, I'm working on a Magento template that includes a flashfile that loads a XML file. I'm getting the following error: XML FAILED TO LOAD! (undefinedtfile_main.xml) Fout bij openen van URL 'file:////Volumes/Macintosh%20HD/Users/ralreclame/Desktop[More]

.xml file not loading when piece runs through an LMS

Category:DefaultRelease time:2015-10-11Views:130

Dear all We created a fully interactive training program on MS Excel where we also simulated Excel using the OWC10.DLL control.  This works pretty well for both .exe and web packaged pieces. In certain cases this control is pre-populated using a .xml[More]

Help: question on send XML file from java client to java server

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am now to Java, and now I am going to set up a simple network in the lab. I have created a random array of data and transferred to XML file on my client. Now, I would like to send it to the server. I am wondering how I can put the XML file into[More]

Generating a XML file and Storing on the Presentation Server

Category:DefaultRelease time:2015-10-11Views:130

Hi Experts, I am facing a problem in generating and storing a XML file on Presentation Server. I am using Call Transformation as follows: CALL TRANSFORMATION id SOURCE para = t_xml[] RESULT XML xml_string. APPEND xml_string TO xml_tab. and then using[More]

XML file for loading different classes in application ?

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to configure a small application ( a simulator ) using a XML file. The XML file determines the classes, whih should be loaded, and initialize the variables (values set in the XML files). I want to have different modules (same functionality[More]

Looking for a way to move a rejected xml file after loading it

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I'm currently looking for a solution to do the following: I've loaded multiple xml files into an external table and after firing a few queries on that external table, I've moved the xml data into a normal oracle table depending on a few value[More]

Use XML files stored in directory of Application server as a input for XI ?

Category:DefaultRelease time:2015-10-11Views:130

I have a scenario that there is a xml file stored in sap application server for example /inf/ERQ/XML/XXX.xml which i want to use it as an input for XI. I know that there is an adapter in XI for getting xml file stored in normal path but in my situati[More]

Hot
Hi. I,ve had this problem for a few days now i,m sure its affective in most of my games but i'll use quake 3 as an example, ok in game I get minor glitches/stutters/distortion, they mainly happen at speed, i,ve been gathering information from various [More]
Dear All, I have to map a certain scenario where there are two plants at two different states and one ware house and 20 C& F agents spread across the country. 1)How should i map this in SAP? 2) Whether i should map the C& F agents as S.Loc or any [More]
From where can I download temple run game for free?Assuming it is available in your country, from the app store.Read other 2 answers [More]
Hi Experts,     I have peculiar issue regarding the messages at the adapter level. I see some messages in SXMB_MONI. I take the message ID from MONI and go to the Adapter Level Message Monitoring in RWB, but i do not see any message for that message [More]
Ok, i tried to search, but so much other stuff came up I couldn't find my answer. I'd like to consider myself not technilogically ********. Is there a way to add captions on more months when I make a calendar, or just the ones that have it preset.It' [More]
Hii MM experts,        when i do Standard PO with Acc assignment K, then after MIGO , order number is displayed in FI DOCUMENT.         but when i do Service PO with Acc. assign. K , then in FI doc of MIGO (material document) , order number is not di [More]
Is it possible to have editable text field in interactive report? Thanks, DipHi, I followed your suggestion and defined an IR with apex_item.text columns and it works fine. Now however I face a new problem when I run the page and use the standard Sea [More]
i created my own page format in spad , size 400 mm and 700 mm. that page format assigned to my smart form . when ever iam trying print . issue output could not issued giving error .Hi, Please paste your eror discription as well. What is that error me [More]
Hi there, a couple of times the windows update on my windows 7  won't update the Intel Corporation - Display - Intel (R) HD Graphics. What could be the problem? How can this be solved?Hello palette35, Welcome to the community. You're having problems [More]
We have a requirement that when a document is posted, our custom table sould get updated with all details like BELNR and all other relevant details of the document. Kindly let us know which function module to use. Also the procedure to activate it. R [More]