This issue is partially related to #670
It seems that within the Document Information Dictionary /CreationDate is checked for correct date notation while ModDate is not.
The file with the following Information Dictionary checks out as valid:
When the CreationDate is formatted incorrectly (missing "D:" prefix) the file is reported as described in #670 . However, the /ModDate has the same incorrect formatting and it doesn't seem to matter.
IMO incorrectly formatted /ModDate should throw an error (well-formed but not valid).
This issue is partially related to #670 It seems that within the Document Information Dictionary /CreationDate is checked for correct date notation while ModDate is not. The file with the following Information Dictionary checks out as valid:
When the CreationDate is formatted incorrectly (missing "D:" prefix) the file is reported as described in #670 . However, the /ModDate has the same incorrect formatting and it doesn't seem to matter.
IMO incorrectly formatted /ModDate should throw an error (well-formed but not valid).