openpreserve / jhove

File validation and characterisation.
http://jhove.openpreservation.org
Other
171 stars 79 forks source link

Incorrect Catalog Version causes missing metadata extraction #660

Open thorsted opened 3 years ago

thorsted commented 3 years ago

If Document Catalog uses invalid version named object, JHOVE reports back "Well-Formed and Valid" but skips some metadata extraction.

%PDF-1.5 %.... 2 0 obj << /Type /Catalog /Version /1#2E5

JHOVE reports no Info section and claims zero objects. PDF Specification claims this version info is optional.

Sample file: version_error.pdf