[
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: [email protected]
For additional commands, e-mail: [email protected]