This content has been marked as final. Show 4 replies
It means that the parser is finding (what it considers) non-XML content as part of the XML page.
It's been a whil esince I have done RSS/XML, but there are a couple of possible reasons.
What I would suggest you do first is dump the XMLContent variable after it is first assigned in line 25 (comment out line 26 for now). If it shows some weird little characters at the beginning of the data content, then you will have to trim that out first before parsing the XML itself.
Another reason may be the CDATA entries, but I'm pretty sure I've had it work with CDATA before.
Post the output from the dump above and we can probably see the issue.
What is ur development environment? I tried your code and did not get any error while parsing. I am using CF 8.
Hey thanks for the followup, I'm on a Godaddy server running MX7. I was thinking that maybe they had some restrictions given the line "Content is not allowed in prolog." Whatever prolog is
SafariTECH - I'll give that a go, thanks
Ahhh freakn Godaddy! Proxy issue. here is the fix. Thanks for the help guys!
<cfhttp method="GET" url="blah.rss" proxyserver="proxy.shr.secureserver.net" proxyport="3128">