Op 2/10/2013 15:37, shira schreef: > I had a code merging two PDFs, which was using setTagged in case both > of the concatenated PDFs are tagged (worked well with 5.4.3). When concatenating documents in tagged mode, you must keep all readers opened until the resultant document is closed. This is very important for generating a correct structure tree.
You may ask why this wasn't required in iText 5.4.3. The crash also happened, but it was hidden because of a bug in PdfCopy in iText 5.4.3. The problem was ignored, but that doesn't mean it was a problem: the result was an incorrect structure tree in the resultant PDF. That's one of the reasons why it's always best to use the latest iText version, especially when using functionality marked as "under development." ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php