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:05 UTC

[jira] [Created] (PDFBOX-3029) Can't overwrite property in PDFIdentificationSchema

Maruan Sahyoun created PDFBOX-3029:
--------------------------------------

             Summary: 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.10, 1.8.9, 2.0.0
            Reporter: Maruan Sahyoun


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}




--
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