[
https://issues.apache.org/jira/browse/PDFBOX-4976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207788#comment-17207788
]
James Maguire commented on PDFBOX-4976:
---------------------------------------
As a user, I am advising it is useful. And if you have a look through the
issues list you will find a number of mentions of the fact that PDFBox does not
fail when it should.
If you do not believe this is useful, please indicate why you do not believe it
is useful given the scenario I have explained where a system needs to ensure a
PDF is fully rendered without issue.
Is there an alternative methodology you would recommend?
> 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]