You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/03/04 20:06:40 UTC
[jira] [Resolved] (PDFBOX-3258) XMPBox XMPBasicSchema setters don't
work if already set
[ https://issues.apache.org/jira/browse/PDFBOX-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-3258.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.8.12
> XMPBox XMPBasicSchema setters don't work if already set
> -------------------------------------------------------
>
> Key: PDFBOX-3258
> URL: https://issues.apache.org/jira/browse/PDFBOX-3258
> Project: PDFBox
> Issue Type: Bug
> Components: XmpBox
> Affects Versions: 1.8.11, 1.8.12, 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 1.8.12, 2.0.0
>
>
> This is a follow-up for PDFBOX-3257 but for XMPBox.
> {code}
> DomXmpParser xmpParser = new DomXmpParser();
> xmpParser.setStrictParsing(false);
> InputStream is = meta.createInputStream();
> org.apache.xmpbox.XMPMetadata xmp = xmpParser.parse(is);
> is.close();
> XMPBasicSchema basic = xmp.getXMPBasicSchema();
> Calendar createDate = basic.getCreateDate();
> System.out.println(createDate);
> basic.setCreateDate(new GregorianCalendar());
> createDate = basic.getCreateDate();
> System.out.println(createDate);
> {code}
> This outputs twice the same :-(
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org