Recently IQFeed started returning some XML news with multiple empty <news_stories> tags in the same message (followed by the actual news item).
It may be related to a different bug described here (in message #7)
http://forums.iqfeed.net/index.cfm?page=topic&topicID=3402In particular, when IQFeed returns an empty XML message as a response, I request the news again (until I get results).
Time: 20120918 09:01:15
StoryId=21363694236
Title=City National Corporation to Announce Third-Quarter 2012 Earnings
XML=
<?xml version='1.0'?>
<news_stories>
</news_stories>
<?xml version='1.0'?>
<news_stories>
</news_stories>
<?xml version='1.0'?>
<news_stories>
</news_stories>
<?xml version='1.0'?>
<news_stories>
</news_stories>
<?xml version='1.0'?>
<news_stories>
<news_story>
<is_link>N</is_link>
<story_text>September 18, 2012
LOS ANGELES, Sept. 18, 2012 (GLOBE NEWSWIRE) -- City National Corporation
(NYSE:CYN) is scheduled to announce its third?quarter 2012 financial results
after the markets close on Thursday, October 18, 2012. A news release
containing these results will be distributed electronically via GlobeNewswire.
...
</story_text>
<symbols>:CYN:</symbols>
</news_story>
</news_stories>
"I hear and I forget. I see and I remember. I do and I understand."
-- Confucius