Open RvanVeenendaal opened 1 year ago
2. Why does JHOVE 1.28.0 report the tags in a different order than the older versions?
I can answer this one @RvanVeenendaal. It's because of the changes to stop the duplication of error messages. The messages are now handled in a Set
rather than a List
to handle duplication. This also adds an ordering. I believe that is on offset now, but I will check for sure. It can certainly be fine-tuned.
Keep this open for the ID character bug which needs a fix.
Sometimes JHOVE reports TIFF-HUL-12 "Unknown TIFF IFD Tag" messages. The latest versions of JHOVE seem to have a problem showing the unknown tag's number. There are additional characters at the end of the reported tag number string. Compare the bold InfoMessages below, for JHOVE 1.28.0, 1.26.1 and 1.20.1. For reproduction, use the file from https://github.com/openpreserve/jhove/issues/657.
Issue(s):
JHOVE output for 1.28.0, 1.26.1 and 1.20.1:
Jhove (Rel. 1.28.0, 2023-05-18) Date: 2023-06-01 16:32:48 CEST RepresentationInformation: c:\temp\NL-HaNA_1.05.11.13_230_0002.tif ReportingModule: TIFF-hul, Rel. 1.9.4 (2023-03-16) LastModified: 2023-06-01 16:15:47 CEST Size: 36732635 Format: TIFF Version: 6.0 Status: Well-Formed and valid SignatureMatches: TIFF-hul InfoMessage: Ongekend TIFF IFD Tag: 40091  ID: TIFF-HUL-12 Offset: 450 InfoMessage: Ongekend TIFF IFD Tag: 40092  ID: TIFF-HUL-12 Offset: 462 InfoMessage: Ongekend TIFF IFD Tag: 40093  (etc.)
Jhove (Rel. 1.26.1, 2022-07-14) Date: 2023-06-01 16:21:38 CEST RepresentationInformation: c:\temp\NL-HaNA_1.05.11.13_230_0002.tif ReportingModule: TIFF-hul, Rel. 1.9.3 (2022-04-22) LastModified: 2023-06-01 16:15:47 CEST Size: 36732635 Format: TIFF Version: 6.0 Status: Well-Formed and valid SignatureMatches: TIFF-hul InfoMessage: Ongekend TIFF IFD Tag: 36868  ID: TIFF-HUL-12 Offset: 36022 InfoMessage: Ongekend TIFF IFD Tag: 37510  ID: TIFF-HUL-12 Offset: 36042 InfoMessage: Ongekend TIFF IFD Tag: 40091  (etc.)
Jhove (Rel. 1.20.1, 2018-03-29) Date: 2023-06-01 16:25:14 CEST RepresentationInformation: c:\temp\NL-HaNA_1.05.11.13_230_0002.tif ReportingModule: TIFF-hul, Rel. 1.8 (2017-05-11) LastModified: 2023-06-01 16:15:47 CEST Size: 36732635 Format: TIFF Version: 6.0 Status: Well-Formed and valid SignatureMatches: TIFF-hul InfoMessage: Unknown TIFF IFD tag: 36868 Offset: 36022 InfoMessage: Unknown TIFF IFD tag: 37510 Offset: 36042 InfoMessage: Unknown TIFF IFD tag: 40091 (etc.)