[
https://issues.apache.org/jira/browse/PDFBOX-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Kolditz reopened PDFBOX-4195:
----------------------------------
> Valid XMP Metadata TimeZone not accepted
> ----------------------------------------
>
> Key: PDFBOX-4195
> URL: https://issues.apache.org/jira/browse/PDFBOX-4195
> Project: PDFBox
> Issue Type: Bug
> Components: Preflight, XmpBox
> Affects Versions: 2.0.8, 2.0.9
> Environment: Windows, MikTeX 2.9, pdflatex processor
> Reporter: Till Kolditz
> Priority: Minor
> Labels: patch
>
> I came across this issue when I compiled a PDF file with miktex LaTeX
> processor, using the pdfx package with options [a-1b,pdf17] and then
> validating the generated PDF file using the pdfbox stand-alone jar files
> "pdfbox-app-2.0.8.jar" and "pdfbox-app-2.0.9.jar". The error message is:
> {{7.1 : Error on MetaData, Failed to instanciate DateType property with value
> 2018-04-17T22:24:06+02:00 in xmp:ModifyDate}}
> However, according to the XMP specification Section 8.2.1.2 at
> [https://wwwimages2.adobe.com/content/dam/acom/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2016-08/XMPSpecificationPart1.pdf]
> this date format should be valid. A given example date is:
> {{2004-10-23T12:00:00-06:00}}
> The problematic class should be DateConverter, which seems to not handle time
> zone information properly:
> [https://javalibs.com/artifact/org.apache.pdfbox/xmpbox?className=org.apache.xmpbox.DateConverter&source]
> in function
> {{public static Calendar toCalendar(String date) throws IOException}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]