openpreserve / jhove

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

JHOVE 1.30 / PDF-hul 1.12.5 reports file as "Well-Formed and valid" despite PDF-HUL-2 error #924

Open asciim0 opened 1 month ago

asciim0 commented 1 month ago

File to reproduce the issue is avail at https://www.schleswig-holstein.de/DE/landesregierung/ministerien-behoerden/VIII/Service/Broschueren/Broschueren_VIII/Kita/ArbeitshilfenSprachfoerderungElementarbereich.pdf?__blob=publicationFile&v=4 and atached here.

The behavior is as follows: JHOVE 1.28.0 / PDF-hul 1.12.4 reported the file as "Well-Formed, but not valid" with a PDF-HUL-122 error at Offset 214251 JHOVE 1.30.0 RC1/ PDF-hul 1.12.5 reports the file as "Well-Formed and valid" with a PDF-HUL-2 error and no Offset

Could you advise whether either the PDF-HUL-2 error or the Well-formed and valid error in 1.30 are a false positive?

ArbeitshilfenSprachfoerderungElementarbereich.pdf

samalloing commented 1 month ago

Hi @asciim0,

My bad, I created a pull request for this

Thanks for spotting the mistake

Sam