I'm guessing you have, but....have you tried
<cfoutput>#cfhttp.FileContent#</cfouput> and copy the result into a XML
validator?

DK

On 1/10/07, Thomas Nunn <[EMAIL PROTECTED]> wrote:

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

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>
-------------------------------------------------------------




--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



-------------------------------------------------------------
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