Daniel Wilson schrieb:
As you've doubtless seen, Sean is coming up with quite a set of invalid data
scenarios that crash the PDFBox parser.

As a matter of policy, what do you all think should be our handling of
these?  I see 3 options, though I'm open to others:

   1. Crash -- current functionality
   2. Bury the error
   3. Log and continue

I favor #3, but before I include code to move to that in all those places
Sean is finding, would like other developer input.
I favor #3 too. But only if the costs to be more forgiving aren't too high. I'm espacially thinking of complex parser scenarios. It could be quite difficult to just skip *every* malformed pdf.

BR
Andreas Lehmkühler

Thanks.

Daniel Wilson

Reply via email to