[ https://issues.apache.org/jira/browse/PDFBOX-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419367#comment-17419367 ]
Michael Klink commented on PDFBOX-5283: --------------------------------------- [~msahyoun], sorry if I formulated that too hard. I also do understand that creating a really strict PDF library in a world where PDF viewers try to display even severely broken PDFs without a warning won't get you many users. Nonetheless the points I made do stand. The problem with a strict mode is that it really needs to be a programming principle throughout the library, not merely in a few selected locations. I.e. one must never assume that existing entries of some structure loaded from some PDF are as they should be, one always has to test etc. And unfortunately the requirements are a bit of moving targets if one takes a look at the corrections to ISO 32000-2:2020 already decided upon... So I'm afraid a truly good strict mode is not really feasible. (And before you ask, no, I'm not aware of a really strict PDF library...) > No Content - xRef / Obj Parsing > ------------------------------- > > Key: PDFBOX-5283 > URL: https://issues.apache.org/jira/browse/PDFBOX-5283 > Project: PDFBox > Issue Type: Bug > Components: Parsing > Affects Versions: 2.0.24, 3.0.0 PDFBox > Reporter: Oliver Schmidtmer > Priority: Major > Attachments: Lieferschein_110300.pdf > > > There seems to be an issue with xRef / object reading when parsing the > attached pdf. > The PDF itself has for example two objects with the ref "8 0 R": > One at position 1967 with a "/Content" entry. > One at position 7782 without a "/Content" entry. > Both are referenced in the XRef Table, so there seems to be something off. > Probably Acrobat, etc. are using the first object, while PDFBox is using the > second one. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org