Yesterday morning I tweeted about a CFFEED issue I had run into. I thought at first it was VFS related, but instead it turned out to be related to iTunes-related podcasting XML tags. I was able to figure this out when I took a closer look at the exception:

java.util.NoSuchElementException at java.util.StringTokenizer.nextToken( at coldfusion.syndication.RSSParser.getItunesCategoryStruct

I then looked at the feed in question,, and examined the XML.

<itunes:category text="Technology"> <itunes:category text="Tech News"/> </itunes:category> <itunes:category text="Technology"> <itunes:category text="Software How-To"/> </itunes:category>

So - see the child category tags within each Technology block? That's valid for iTunes Podcasting specs, but it breaks CFFEED if you try to parse the metadata. If you just parse the entries you won't get an error. The only way around it is to regex the tags out of there. If you need them you can grab them before you remove them from the XML. Of course, if you don't need the metadata from the feed, you can avoid this error as well.

I was going to file a bug report for this, but the site is currently throwing an error. When it works I'll post a comment with the ID.