Sweet, that actually returned to me the error code that was "supposed" to be
in xml format. Thanks man!
On 1/10/07, John Mason <[EMAIL PROTECTED]> wrote:
Actually do this...
<cfoutput>#toString(cfhttp.FileContent)#</cfouput>
------------------------------
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *John Mason
*Sent:* Wednesday, January 10, 2007 4:39 PM
*To:* [email protected]
*Subject:* RE: [ACFUG Discuss] XMLParse Problems
What does this yield..
<cfoutput>#cfhttp.FileContent#</cfouput>
John
------------------------------
*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Thomas
Nunn
*Sent:* Wednesday, January 10, 2007 4:22 PM
*To:* [email protected]
*Subject:* Re: [ACFUG Discuss] XMLParse Problems
No. It's supposed to return an xml formatted string. Would this error
occur if I were getting an empty string do you think?
On 1/10/07, John Mason <[EMAIL PROTECTED]> wrote:
> Ok, is the cfhttp calling up an image or something with a particular
> type of encoding?
>
> John
> [EMAIL PROTECTED]
>
>
>
> ------------------------------
> *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Thomas
> Nunn
> *Sent:* Wednesday, January 10, 2007 3:25 PM
> *To:* [email protected]
> *Subject:* Re: [ACFUG Discuss] XMLParse Problems
>
>
> I just checked it and it is actually uncompressed. Any other ideas?
>
>
>
> On 1/10/07, John Mason <[EMAIL PROTECTED] > wrote:
> >
> > If the page is using http compression it will not pull via cfhttp.
> > Sorry but the underlining java can't handle it. It sounds like this might be
> > it, because of the cfhttp error you are seeing.
> >
> > To test it use the compression check tool on this page..
> > http://www.port80software.com/products/zipenable/
> >
> >
> > John
> > [EMAIL PROTECTED]
> >
> >
> >
> > ------------------------------
> > *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Thomas
> > Nunn
> > *Sent:* Wednesday, January 10, 2007 12:18 PM
> > *To:* [email protected]
> > *Subject:* Re: [ACFUG Discuss] XMLParse Problems
> >
> >
> > Not that I'm aware of John. I don't have any real control over that
> > website. I'm just trying to pull down information from a customer of ours to
> > display data for a customer of mine. Can you give me a bit more detail of
> > what it would mean if they were or weren't doing it?
> >
> >
> >
> > On 1/10/07, John Mason <[EMAIL PROTECTED] > wrote:
> > >
> > > 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
> > > <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<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/>
> > > -------------------------------------------------------------
> > >
> >
> >
> >
> > --
> > __________________________________
> > 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
> > <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<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/>
> > -------------------------------------------------------------
> >
>
>
>
> --
> __________________________________
> 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
> <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<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/>
> -------------------------------------------------------------
>
--
__________________________________
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<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<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<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/>
-------------------------------------------------------------
--
__________________________________
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 http://www.fusionlink.com
-------------------------------------------------------------