[
https://issues.apache.org/jira/browse/PDFBOX-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208197#comment-17208197
]
Tilman Hausherr commented on PDFBOX-4976:
-----------------------------------------
There are hundreds, if not thousands of (fixed) "bugs" where a PDF is not
specification compliant and users insist "but it renders on Adobe Viewer".
So your patch would "strict" only one tiny segment of parsing / rendering.
The alternative is that you use JHOVE, or VeraPDF if your files are PDF/A. (We
have also a PDF/A-1b checker, but it isn't as good as the one from VeraPDF)
> OperatorException Strict Mode
> -----------------------------
>
> Key: PDFBOX-4976
> URL: https://issues.apache.org/jira/browse/PDFBOX-4976
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Reporter: James Maguire
> Priority: Minor
> Attachments:
> Strict_operatorException_mode_configurable_via_system_property.patch
>
>
> When utilizing PDFBox in a security strict environment it can be useful to
> enforce a stricter parsing mode. While this is not appropriate in all
> contexts for some use cases - e.g. watermarked PDFs it is essential that the
> PDF is rendered without errors.
>
> This patch offers the ability to configure a system property which will
> always throw an exception when an operatorException is triggered
> Patch attached
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]