empty message body in the validation error
File validation and characterization
Brought to you by:
carlwilson-bl,
garymcgath
While processing this PDF with JHOVE, http://www.fcla.edu/daitss-test/files/Zheng_Liping_200512_PHD.pdf. An error occurs with a status of "Well-Formed, but not valid"
<size>3649429</size> <format>PDF</format> <version>1.5</version> <status>Well-Formed, but not valid</status> <sigMatch> <module>PDF-hul</module> </sigMatch> <messages> <message offset="2098097" severity="error"></message> <message offset="2098153" severity="error"></message> </messages>
Shouldn't there be a message body indicating what is validation error?
Carol,
I can replicate that bug. I'll take a look at what's going on. -- Gary
I've checked in a new version of PdfModule.java that fixes the problem. addDestination was failing to check whether it could safely get a page object number, and throwing a NullPointerException when it couldn't. The handler was assuming there would be a message string in the exception. I've fixed it on both of these points. For now it can be built with the updated source code; it should be fixed in JHOVE 1.10, whenever that happens.
Thanks Gary. I will work on the merge as soon as I have a chance.
Moved to GitHub for triage and testing.