openpreserve / jhove

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

Check added that an Extension is a direct object #780

Closed samalloing closed 1 year ago

samalloing commented 2 years ago

Hi @carlwilson

Added an extra check that an extension is a direct object. This is based on the Arlington PDF model: https://github.com/pdf-association/arlington-pdf-model/blob/master/tsv/latest/Extensions.tsv As test file you can use https://github.com/qpdf/qpdf/blob/main/qpdf/qtest/qpdf/extensions-adbe-other.pdf

Sam

codecov[bot] commented 2 years ago

Codecov Report

Base: 46.22% // Head: 46.22% // No change to project coverage :thumbsup:

Coverage data is based on head (a7e8dff) compared to base (6f8bc2a). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## integration #780 +/- ## ============================================== Coverage 46.22% 46.22% Complexity 1056 1056 ============================================== Files 57 57 Lines 9057 9057 Branches 1607 1607 ============================================== Hits 4187 4187 Misses 4330 4330 Partials 540 540 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openpreserve). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openpreserve)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.