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 2016/03/15 12:24:33 UTC
[jira] [Commented] (PDFBOX-3029) Can't overwrite property in
PDFIdentificationSchema
[ https://issues.apache.org/jira/browse/PDFBOX-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15195119#comment-15195119 ]
Andreas Lehmkühler commented on PDFBOX-3029:
--------------------------------------------
Is this related to PDFBOX-3258 and maybe solved already?
> 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