2008/6/24 Craig Ringer <[EMAIL PROTECTED]>: > I certainly agree that during PDF parsing PoDoFo should detect duplicate > dictionary keys. Since we're paying the map lookup cost anyway this might > just be a matter of renaming AddKey to SetKey (Yep, API breakage, but nice > sed-friendly API breakage) and making the new AddKey throw on duplicate > keys. PdfParserObject can then be prepared to catch the exception, log a > warning including useful context like the byte offset and object number > being processed, and keep on parsing. > > It'd be 0.7.0 material, of course, but does that sound reasonable?
Yes. You are right: This should be handled at the parser level. Best Martin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
