Alexandre, Bruno, iText mailing list wrote > On 8/12/2014 8:27 AM, Pichtchikov, Alexandre wrote: >> What is the best way to check if my pdf tagged properly? > > It takes a human to do that. > No machine can ever know if a PDF is properly tagged. > Compare the PDF/UA specification with the Matterhorn protocol for more > info.
@Bruno While this certainly is true for a complete check, I assume Alexandre would be happy to have one check which would guarantee that the tagging will not give rise to the NullPointerException this thread is about. @Alexandre Have you checked whether a document causing that Exception in one case always does so? In that case an obvious check would be to try once. regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/method-PdfCopy-fixTaggedStructure-throws-NullPointerException-tp4660201p4660230.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ 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