PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Wed Apr 15, 2026 11:53 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Apr 14, 2026 2:43 am 
Offline

Joined: Tue Apr 14, 2026 2:40 am
Posts: 1
Hello everyone,
I’m working with a PDF file where objects are incorrectly terminated using "endobject" instead of the standard "endobj".
Here is an example snippet from the PDF:

8 0 obj
<< /Length 3910
/Subtype /XML
/Type /Metadata
>>
stream
...
endstream
endobject

When trying to open this file using PDFSharp, I encounter the following exception:

PdfSharp.Pdf.IO.PdfReaderException
HResult=0x80131500
Message=Token 'endobject' was not expected.
Source=PdfSharp-wpf


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider], Meta and 215 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group