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

Can't overwrite property in PDFIdentificationSchema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.8.9, 1.8.10, 2.0.0
    • None
    • XmpBox
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: