Why is PDF_HUL_66 returned for two different cases? #1084
BertrandCaron
started this conversation in
General Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I was trying to make sense of a PDF-hul-66 error and looked at
jhove/jhove-modules/pdf-hul/src/main/java/edu/harvard/hul/ois/jhove/module/pdf/Tokenizer.java
Line 321 in 53c8abe
Here, I see that PDF-hul-66 is returned in the case of a missing bracket (as stated in the error explanation) but also in case of an unexpected character in a float number.
I then supposed that "Lexical error" would be a generic error for all sorts of invalid content, but it seems that only in those two cases is the error returned. So I'm a bit confused...
All reactions