Bug report

2023-09-20 Thread Morten Stulen
After upgrading to PDFBox 3, the PreflightParser.validate() function returns an error. "Trailer Syntax error, /XRef cross reference streams are not allowed" Code: fun isValid(bytes: ByteArray): Boolean { val fileName = "tmp_${UUID.randomUUID()}.pdf" val file = File(fileName) val document =

Re: Bug report

2023-09-22 Thread Morten Stulen
load your PDF somewhere and link to it. > > If there is really a cross reference stream, then the error message is > correct (and 2.0.29 is at fault), because that is a PDF 1.5 feature and > PDF/A-1b is based on 1.4. > > Tilman > > > On 20.09.2023 17:00, Morten Stulen wro

Re: Bug report

2023-09-26 Thread Morten Stulen
what is required to fix the validation for XRef? ᐧ On Sat, Sep 23, 2023 at 5:22 AM Tilman Hausherr wrote: > I get the same "error" with 2.0.29. > > Tilman > > > On 20.09.2023 17:00, Morten Stulen wrote: > > After upgrading to PDFBox 3, the PreflightParser.va

Re: Bug report

2023-09-26 Thread Morten Stulen
online.com%2Fosa%2Fvalidate.aspx> > and > only the v3 PDF has the XRef validation error. > > If the PDFBox 3 validation is correct, what is required to fix the > validation for XRef? > > ᐧ > > On Sat, Sep 23, 2023 at 5:22 AM Tilman Hausherr > wrote: &g

Re: Bug report

2023-09-27 Thread Morten Stulen
Thanks for the help! :) ᐧ On Tue, Sep 26, 2023 at 7:59 PM Tilman Hausherr wrote: > On 26.09.2023 11:49, Morten Stulen wrote: > > > > If the PDFBox 3 validation is correct, what is required to fix the > > validation for XRef? > > > save your file