Is the page you're trying to hit using http compression?
 
John
[EMAIL PROTECTED]
 
 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Nunn
Sent: Wednesday, January 10, 2007 11:56 AM
To: [email protected]
Subject: [ACFUG Discuss] XMLParse Problems


I'm receiving an error message when I try try to parse incoming xml data
from a cfhttp call to a url. The url is supposed to send back miscellaneous
xml formatted data.
 
<cfhttp method="get" url="{url}">
 
<cfscript>
   xmlstuff = XMLParse(cfhttp.FileContent);
</cfscript>
 
The error I'm getting is:
      An error occurred while Parsing an XML document. Content is not
allowed in prolog.
 
Also whenever I just do a cfdump of the cfhttp.FileContent I get an object
of java.io.ByteArrayOutputStream. I don't know if that has anything to do
with the error or if this is just the way that unparsed xml data comes from
the server I'm "getting" from. 
 
Honestly, I'm assuming that the data I'm receiving is malformed, but I
wanted to know if anyone else has had any experience with this problem.
Thanks ahead of time.
__________________________________
Larry Nunn
Web Developer I
Synovus Financial Corp.
2510 Cherokee Ave. #25A
Columbus, GA 31906
706.575.2816 

------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to