Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.

TOPIC:

xref issue 6 years 7 months ago #12789

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Hi,

We are using PDFSharp for PDF file editing at server side. We have an issue with PDF file which was edited by RadaeePDF Cordova plugin. When we are trying to open it by using PDFSharp we receive the following exception:

Unexpected token 'xref' in PDF stream. The file may be corrupted. If you think this is a bug in PDFsharp, please send us your PDF file.


It looks like RadaeePDF Cordova plugin corrupts file. The XREF table should contain a list to the objects of the PDF. In this case the XREF table includes a link to the XREF table.

Original file: www.dropbox.com/s/wyjtoqokthrrryb/Original%20File.pdf
Edited file: www.dropbox.com/s/3076hz16l19wcys/File.pdf

Please Log in or Create an account to join the conversation.

Last edit: by Marat Faskhiev.

xref issue 6 years 7 months ago #12790

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
There is something I'm not understanding.

The input file is a normal PDF while the output one is an pdf/a-1.

May you clarify the full flow?

Original -> compiled by radaee -> transformed to pdf/a-1 by pdfsharp?

There are some errors I can't recognize as generated by our side (for example the missing Zapf Dingbats font is a requirement from pdf/a-1 transformation).
May you send us the missing pdf file I guess you've in your full process?

Please Log in or Create an account to join the conversation.

xref issue 6 years 7 months ago #12791

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
File.pdf is not processed by PDFSharp. This file was created by RadaeePDF Cordova plugin for Android.

Please Log in or Create an account to join the conversation.

Last edit: by Marat Faskhiev.

xref issue 6 years 7 months ago #12792

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Ok, I'll double check with dev team.

Please Log in or Create an account to join the conversation.

xref issue 6 years 7 months ago #12793

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 0
Thank you.

Please Log in or Create an account to join the conversation.

xref issue 6 years 7 months ago #12798

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
It seems the original file has some corruption in the AcroForm structure.
I'm uploading the report generated by AcrobatPro XI.
Sorry if it is in italian.

It seems the original PDF generator (OpenOffice?) has some issue while generating forms.

File Attachment:

File Name: OriginalFi...orto.pdf
File Size:312 KB
Attachments:

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum