Yep. Both work just fine for me. One other thing to look for...if you're using a DevNet version of ColdFusion then it may be inserting an errant <meta> tag that causes all kinds of havoc when dealing with XML.
On 8/23/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > Hi Rob > > How about these feeds, do you get these to work for you ? > > http://www.vnunet.com/feeds/rss/latest/all/analysis > > http://www.vnunet.com/feeds/rss/computing > > I am getting the error > > An error occured while Parsing an XML document. > Content is not allowed in prolog. > > > > -----Original Message----- > From: Rob Wilkerson [mailto:[EMAIL PROTECTED] > Sent: 22 August 2006 17:03 > To: CF-Talk > Subject: Re: Parsing an XML Feed > > Well, I couldn't see anything wrong so I decided to check it out myself > and it works just fine for me. I had to remove your proxy info, of > course, but the following works just fine: > > <cfhttp url="http://www.easycfm.com/syndication/mostviewed.cfm" > method="GET" > timeout="15" resolveurl="yes"> > </cfhttp> > > <cfdump var="#XMLParse ( cfhttp.filecontent )#" > label="cfhttp.filecontent" expand="Yes" /> > > You might want to check your proxy and see whether it has something > cached that's getting in the way. Or, if possible, bypass the proxy all > together. > > On 8/22/06, Ian Vaughan <[EMAIL PROTECTED]> wrote: > > Changed what you suggested below, but still getting the same error? > > > > An error occured while Parsing an XML document. > > White spaces are required between publicId and systemId. > > > > <cfscript> > > URLToPull = "http://www.easycfm.com/syndication/mostviewed.cfm"; > > </cfscript> > > <cfhttp url="http://www.easycfm.com/syndication/mostviewed.cfm" > > method="GET" > > timeout="15" proxyserver="ipaddress" proxyuser="username" > > proxypassword="password" proxyport="port" resolveurl="yes"> </cfhttp> > > > > <cfset variables.filecontent = REReplaceNoCase ( cfhttp.filecontent, > > "[^\x00-\x7f]", "", "ALL" ) /> > > > > <cfscript> > > XMLContent = trim(variables.filecontent); XMLContent = > > XMLParse(XMLContent); > > > > </cfscript> > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250745 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

