Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with PDF annotation dictionaries #113

Closed
carlwilson opened this issue Sep 7, 2016 · 1 comment
Closed

Problem with PDF annotation dictionaries #113

carlwilson opened this issue Sep 7, 2016 · 1 comment
Labels
bug A product defect that needs fixing
Milestone

Comments

@carlwilson
Copy link
Member

carlwilson commented Sep 7, 2016

A file from the Open Planets Foundation format corpus, simple-annotated-in-adobe-x.pdf, is reported as well-formed but not valid, with the not very informative message "Invalid annotations." Setting breakpoints reveals that where an array is expected for the "Annots" array of annotation dictionaries, a keyword is being found instead. I can't immediately figure out why this is. Even if it's not in accordance with the spec, it's an Adobe-generated file.

Further comment from @gmcgath :

File from format corpus:
simple-annotated-in-adobe-x.pdf

and again from @gmcgath

A similar problem exists in the same file with the "Names" dictionary. This looks like an underlying feature of PDF that I've overlooked.

and again from @gmcgath 22-05-2013

I've posted a question at http://superuser.com/questions/589207/can-a-keyword-be-in-a-pdf-annots-array to see if anyone can explain what's going on. So far there have been no answers.

@carlwilson carlwilson added bug A product defect that needs fixing legacy legacy Legacy bugs that require testing to establish status labels Sep 7, 2016
@carlwilson carlwilson added this to the Legacy testing backlog cleared milestone Sep 7, 2016
@david-russo
Copy link
Member

JHOVE 1.16.7 reports this file as "Well-formed and valid". The annotation appears to be in a compressed stream object, so it may have been affected by #151.

@david-russo david-russo removed the legacy Legacy bugs that require testing to establish status label Sep 30, 2017
@carlwilson carlwilson modified the milestones: Legacy testing backlog cleared, Release v1.18 Nov 6, 2017
rgfeldman added a commit to rgfeldman/jhove that referenced this issue Apr 10, 2019
rgfeldman added a commit to rgfeldman/jhove that referenced this issue Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing
Projects
None yet
Development

No branches or pull requests

2 participants