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/15 18:14:33 UTC
[jira] [Closed] (PDFBOX-3029) Can't overwrite property in
PDFIdentificationSchema
[ https://issues.apache.org/jira/browse/PDFBOX-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-3029.
-----------------------------------
Resolution: Duplicate
Yes!
> Can't overwrite property in PDFIdentificationSchema
> ---------------------------------------------------
>
> Key: PDFBOX-3029
> URL: https://issues.apache.org/jira/browse/PDFBOX-3029
> Project: PDFBox
> Issue Type: Bug
> Components: XmpBox
> Affects Versions: 1.8.9, 1.8.10, 2.0.0
> Reporter: Maruan Sahyoun
>
> While working on PDFBOX-3027 I found that once a property has been set the value can not be changed.
> {code}
> PDFAIdentificationSchema pdfaid = metadata.createAndAddPFAIdentificationSchema();
> pdfaid.setConformance("A");
> Assert.assertEquals("A", pdfaid.getConformance());
> pdfaid.setConformance("B");
> Assert.assertEquals("B", pdfaid.getConformance()); <- this fails with the value still being 'A'
> {code}
--
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