[
https://issues.apache.org/jira/browse/PDFBOX-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299901#comment-14299901
]
Maruan Sahyoun commented on PDFBOX-2619:
----------------------------------------
With the changes made I now get
{code}
The file empty_word.pdf is not valid, error(s) :
7.2 : Error on MetaData, CreationDate present in the document catalog
dictionary doesn't match with XMP information
7.2 : Error on MetaData, ModificationDate present in the document catalog
dictionary doesn't match with XMP information
{code}
[~tilman] could you verify it works with the PDF/A testbed?
> XMP dates contain time zone, while document info dates do not, and this isn't
> detected by preflight
> ---------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-2619
> URL: https://issues.apache.org/jira/browse/PDFBOX-2619
> Project: PDFBox
> Issue Type: Sub-task
> Components: Preflight
> Affects Versions: 1.8.8, 2.0.0
> Reporter: Tilman Hausherr
> Fix For: 1.8.9, 2.0.0
>
> Attachments: empty_word.pdf
>
>
> Another one from the Bavaria test suite:
> {code}
> /CreationDate(D:20090317081112)
> /ModDate(D:20090317081112)
> <xmp:CreateDate>2009-03-17T08:11:12Z</xmp:CreateDate>
> <xmp:ModifyDate>2009-03-17T08:11:12Z</xmp:ModifyDate>
> {code}
> The info dates do not have a timezone, but the xmp dates do (Z = "Zulu").
> This information (whether there was a timezone information in the string) is
> "lost" in our conversion methods :-(
> Amusingly, PDF Tools says the file is valid.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]