You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2015/10/15 19:31:06 UTC
[jira] [Updated] (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 ]
Maruan Sahyoun updated PDFBOX-3029:
-----------------------------------
Description:
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}
was:
While working on PDFBOX-3027 i fired out that one 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}
> 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