jhove
jhove copied to clipboard
JHOVE reports misleading information for module-incompatible formats
Dev Effort
0.5D
Description
When a specific module is chosen for validation, the format and the MIME type that the module was expecting is reported as part of the file's representation information, irrespective of the file's actual format.
Command: jhove -m wave-hul out.txt
Jhove (Rel. 1.16.5, 2017-03-20)
Date: 2017-03-21 11:00:50 GMT
RepresentationInformation: out.txt
ReportingModule: WAVE-hul, Rel. 1.4 (2017-03-14)
LastModified: 2017-03-21 10:53:12 GMT
Size: 19393
Format: WAVE
Status: Not well-formed
ErrorMessage: Document does not start with RIFF chunk
Offset: 0
MIMEtype: audio/x-wave
Command: jhove -m pdf-hul out.txt
Jhove (Rel. 1.16.5, 2017-03-20)
Date: 2017-03-21 10:54:07 GMT
RepresentationInformation: out.txt
ReportingModule: PDF-hul, Rel. 1.8 (2017-03-14)
LastModified: 2017-03-21 10:53:12 GMT
Size: 19393
Format: PDF
Status: Not well-formed
ErrorMessage: No PDF header
Offset: 0
MIMEtype: application/pdf