PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

"Token '18' was not expected." in PdfReader.Open(Stream)
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3539
Page 1 of 1

Author:  gsalka [ Tue Feb 07, 2017 9:57 am ]
Post subject:  "Token '18' was not expected." in PdfReader.Open(Stream)

Hi
I have some PDF files that give me this error trying to open them
Version 1.50.4000.0
Runtime Version v2.0.50727

The files are customers invoice but if you want i can send some of them to you.

Any ideas will be appreciate

thanks
Domenico Sala

gsalka@yahoo.com

Author:  Thomas Hoevel [ Tue Feb 07, 2017 12:07 pm ]
Post subject:  Re: "Token '18' was not expected." in PdfReader.Open(Stream)

Hi!
gsalka wrote:
Any ideas will be appreciate
Nothing we can do without a file that allows us to replicate the issue.

Author:  gsalka [ Tue Feb 07, 2017 4:31 pm ]
Post subject:  Re: "Token '18' was not expected." in PdfReader.Open(Stream)

Thomas Hoevel wrote:
Hi!
gsalka wrote:
Any ideas will be appreciate
Nothing we can do without a file that allows us to replicate the issue.


Files sent
Thanks

Author:  Thomas Hoevel [ Tue Feb 07, 2017 5:18 pm ]
Post subject:  Re: "Token '18' was not expected." in PdfReader.Open(Stream)

Hi!

I can replicate the issue. At first glance I presume the files are faulty.
Maybe we can modify PDFsharp to tolerate that fault.

When I open the file with Adobe Reader and then use File => Save as, Reader fixes the fault and I get a file that opens with PDFsharp.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/