You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by fr...@ca.rr.com on 2019/09/23 19:09:20 UTC
Rogue characters corrupting AcroForm object
Hi,
I've used PDFBox (2.0.7) to develop an interactive PDF document.When
complete, the user uploads the PDF to an app server.
In the many hundreds that have been successfully filled-out and
uploaded, I have had three instances where a rogue character has
corrupted the AcroForm object causing the upload to fail.
In two cases the rogue character is in the structure of the AcroForm
object, such that I cannot read data from that line of the object.
The other time, the rogue character was appended into a data value of
the AcroForm object.Although I could read the data value, it was not
the value that I wrote out when creating the PDF file.
I have attached three screen-shots showing the rogue characters.
Has anyone else experienced the same issue?I've looked through the web
and not found anything similar.
I'm confident that the rogue characters were not there when the file
was created.It is though they are put there while the user interacts
with the PDF.The user may open and close the file multiple times
before upload.
CheersFrancis
Re: Rogue characters corrupting AcroForm object
Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,
The current version is 2.0.17. Please retry with that one and upload
screenshots and PDF on a sharehoster.
Tilman
Am 23.09.2019 um 21:09 schrieb francisgraham@ca.rr.com:
> Hi,
>
> I've used PDFBox (2.0.7) to develop an interactive PDF document.
> When complete, the user uploads the PDF to an app server.
>
> In the many hundreds that have been successfully filled-out and
> uploaded, I have had three instances where a rogue character has
> corrupted the AcroForm object causing the upload to fail.
>
> In two cases the rogue character is in the structure of the AcroForm
> object, such that I cannot read data from that line of the object.
>
> The other time, the rogue character was appended into a data value of
> the AcroForm object.
> Although I could read the data value, it was not the value that I
> wrote out when creating the PDF file.
>
> I have attached three screen-shots showing the rogue characters.
>
> Has anyone else experienced the same issue?
> I've looked through the web and not found anything similar.
>
> I'm confident that the rogue characters were not there when the file
> was created.
> It is though they are put there while the user interacts with the PDF.
> The user may open and close the file multiple times before upload.
>
> Cheers
> Francis
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org