You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/11/11 19:55:17 UTC
[jira] [Resolved] (PDFBOX-1219)
org.apache.jempbox.impl.DateConverter unable to parse correct date value
[ https://issues.apache.org/jira/browse/PDFBOX-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler resolved PDFBOX-1219.
----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.8.3
Assignee: Andreas Lehmkühler
Solved after solving PDFBOX-1633
> org.apache.jempbox.impl.DateConverter unable to parse correct date value
> ------------------------------------------------------------------------
>
> Key: PDFBOX-1219
> URL: https://issues.apache.org/jira/browse/PDFBOX-1219
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.6.0
> Reporter: Pierre Huttin
> Assignee: Andreas Lehmkühler
> Fix For: 1.8.3, 2.0.0
>
> Attachments: DateConverter.java.patch
>
>
> In a PDF I have found the following XMP field:
> xmp:CreateDate="2012-01-31T10:33+01:00"
> When Jempbox try to access this field I received the following error : "Error converting date:201201311033+0100"
> If we read the XMP SPECIFICATION PART 1 (http://www.adobe.com/devnet/xmp.html) in chapter "8.2.1.2 Date" the value is correct, it respect the format : YYYY-MM-DDThh:mmTZD but the DateConverter class is not able to read it.
> After a quick view of the class the complete parsing method need to be rewritten.
> Best regards,
> Pierre Huttin
--
This message was sent by Atlassian JIRA
(v6.1#6144)