On Thu, 18 Sep 2003, Andreas Aardal Hanssen wrote: >- There are errors with documents with multiparts inside > multiparts. The error may be in parseFull() or they may be > in getPart() - I'm investigating this now. The errors are > that some multiparts are simply not parsed, that is they > are skipped..
More on this: A concrete bug is that the end of a multipart is always the end of any enclosing multiparts, as the "foundendofpart" boolean in mime-parsefull.cc line 435 is set to true, making the whole function return 1, making its enclosing multipart parsing loop (around line 394) exit instead of continuing to parse more parts.. Parsing MIME is tricky, but I think the solution to this bug is quite simple. And I think the MIME parser _will_ look great once all the bugs get pulled out ;). Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."

