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

14 pdf documents that raise "Token xxx was not expected"
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1950
Page 1 of 1

Author:  rallets [ Fri Mar 23, 2012 12:23 pm ]
Post subject:  14 pdf documents that raise "Token xxx was not expected"

Hi all, I've 14 pdf documents thta raise the "Token xxx was not expected":
PdfSharp.Pdf.IO.PdfReaderException: Token '' was not expected
Token '25' was not expected
Token '15' was not expected
Token '25200' was not expected
Token '13' was not expected
Token '26406' was not expected
Token 'ef' was not expected
Token '23859' was not expected
Token 'txref' was not expected
Token 'f' was not expected
Token '474' was not expected

in

PdfSharp\PdfSharp.Pdf.IO\Parser.cs:line 541

Token 'xref' was not expected: I've read that is not implemented, so it's "ok".

Can anyone please check this? I can send my pdf files, but only in private message (sorry... customer reserved document)

Thank you

Author:  rallets [ Fri Mar 23, 2012 4:03 pm ]
Post subject:  Re: 14 pdf documents that raise "Token xxx was not expected"

Hi, searching in the forum, I resolved using the "zero padding" patch. It's possible to integrate the patch in the main source code for future releases?
Thank you

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