# HG changeset patch # User teknolog # Date 1270292552 -3600 # Node ID 520291e284607b4b31c554854b8d23f7508ed647 # Parent 04c6ccce8e7e00eaa82f746482d265a8688faba4 Fix for bug 2399 - variations in OPML syntax diff -r 04c6ccce8e7e -r 520291e28460 engine/src/OpmlParser.cpp --- a/engine/src/OpmlParser.cpp Sat Apr 03 11:47:26 2010 +0100 +++ b/engine/src/OpmlParser.cpp Sat Apr 03 12:02:32 2010 +0100 @@ -96,7 +96,15 @@ if(str.CompareF(KTagOutline) == 0) { iOpmlState = EStateOpmlOutline; } - break; + + // there are two variations on OPML, where the tags sit either + // directly below , or inside a collective + // by checking if the has arguments, we can support both + // by falling through to the nextstate + if (aAttributes.Count() == 0) + { + break; + } case EStateOpmlOutline: //