> Just trying to run the following: > > <cffeed source = "http://data.gov.uk/rss.xml" > properties = "myProps" > query = "myQuery"> > > Errors every time from CF8 with one of 2 errors (usually 1, but sometimes 2), > either: > > 1. String index out of range: -1 > > 2. Unable to parse the feed: Either source specified is invalid or feed is > malformed. > Error: Invalid XML: Error on line 1: Content is not allowed in prolog. > > From CF9 developer's version it usually works fine but does occasionally > error with one > of the two errors above. > > I can browse to it fine. What's wrong with my CF8?
Probably nothing. HTTP requests error out all the time. You should ALWAYS have a heightened expectation of failure when you're making HTTP requests, and write exception handlers accordingly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, o ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329936 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

