Can you show us the code from the cfm page?  One thing you may want to look for 
is to make sure there is no additional white-space at the top of the page 
before the xml is outputted.  I've had this before and wrapped all CF code in 
<cfsilent> to remove that white-space and it fixed the problem.

The mime-type as suggested by Massimo is something to consider.  You MUST have 
it if you are returning XML from a CFC to use with Spry, but I've never had to 
use it when simply hitting a .cfm.

Hope this helps.
Steve

-----Original Message-----
From: Dominic Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 10:43 AM
To: CF-Talk
Subject: (ot) Spry Xml sources

Hi all,

I'm having trouble loading a spry xml source in IE. If my source file
is a .cfm file (that outputs xml), IE refuses to load the data while
Firefox has no problem. If it is a .xml file outputting the exact same
content, it works fine in IE and firefox.

Has anyone encountered this / know what to do?

Here is the offending code:

    var ds = "presentation.cfm"; // works in Firefox but not IE
    //var ds = "presentation.xml"; // works in IE and Firefox
    var dsArgs = {usecache: false, method: "POST"};
    var dsPresentation = new Spry.Data.XMLDataSet(ds, "spresentation", dsArgs);

Dominic

--
Blog it up: http://fusion.dominicwatson.co.uk



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306067
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to