openpreserve / jhove

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

option -r gives different status result #919

Open mingtz opened 3 months ago

mingtz commented 3 months ago

It seems that a -r option returns a different status result in some cases. Here, for the same tiff file, without any switches or -rs jhove reported the file is "Well-Formed, but not valid". But with -r, it reported the file is "Well-Formed and valid".

$ jhove -m TIFF-hul hou01987c00002__0001.tif | grep "Status" Status: Well-Formed, but not valid

$ jhove -m TIFF-hul -rs hou01987c00002__0001.tif | grep "Status" Status: Well-Formed, but not valid

$ jhove -m TIFF-hul -r hou01987c00002__0001.tif | grep "Status" Status: Well-Formed and valid

carlwilson commented 3 months ago

Thanks for reporting this; we will take a look and see if we can reproduce it. If we can't we will get back to you here.