xref issue - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Here you should submit your bug reports with logcat.

TOPIC: xref issue

xref issue 9 months 25 minutes ago #12789

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • 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 9 months 8 minutes ago #12790

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 532
  • Karma: 6
  • Thank you received: 43
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 9 months 2 minutes ago #12791

  • Marat Faskhiev
  • Marat Faskhiev's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • 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 8 months 4 weeks ago #12792

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 532
  • Karma: 6
  • Thank you received: 43
Ok, I'll double check with dev team.

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

xref issue 8 months 4 weeks ago #12793

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

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

xref issue 8 months 4 weeks ago #12798

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 532
  • Karma: 6
  • Thank you received: 43
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: OriginalFile_rapporto.pdf
File Size: 312 KB
Attachments:

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

Powered by Kunena Forum