Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3029

Can't overwrite property in PDFIdentificationSchema

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8.9, 1.8.10, 2.0.0
    • Fix Version/s: None
    • Component/s: XmpBox
    • Labels:
      None

      Description

      While working on PDFBOX-3027 I found that once a property has been set the value can not be changed.

      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'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                msahyoun Maruan Sahyoun
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: