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.
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?
The administrator has disabled public write access.