[ https://issues.apache.org/jira/browse/PDFBOX-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14228402#comment-14228402 ]
Tilman Hausherr commented on PDFBOX-2529: ----------------------------------------- Sorry, I won't use that patch because you're modifying PDPage. A PDPage is reflection of a PDF Page and that one doesn't know its own page number. However I already did a solution this morning that keeps all this in preflight, and will allow to know the page for every error without modifying too much. I didn't really think about the ValidationExceptions but I will do later. Such exceptions will always require an expert investigation and the page doesn't help much. For PDFBOX-2513, I quickly knew it was page 3, but had to use PDFDebugger to see which of the many images failed. (Because PDF XObjects don't know their own name). > Preflight: mention the page on which a problem has been found > ------------------------------------------------------------- > > Key: PDFBOX-2529 > URL: https://issues.apache.org/jira/browse/PDFBOX-2529 > Project: PDFBox > Issue Type: Sub-task > Components: Preflight > Affects Versions: 2.0.0 > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Priority: Minor > Fix For: 2.0.0 > > Attachments: patch2529.txt > > > As suggested by [~hau...@acm.org]: if not on page 1, say on which page the > error occurs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)