Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8.8
    • Fix Version/s: None
    • Component/s: Preflight
    • Labels:

      Description

      Validating a PDF for A1 compatibility, I get an error:

      Error on MetaData, Title present in the document catalog dictionary can't be found in XMP information (Property is not defined)

      Yet when I look at the file, the property is defined as such:

            <dc:title>
              <rdf:Alt>
                <dc:li>Rechnung 14512-14-001</dc:li>
              </rdf:Alt>
            </dc:title>
      

      The code that sets the title (in order to make sure it's the same as the one from the document information):

              DublinCoreSchema dublinCore = xmp.createAndAddDublinCoreSchema();
              dublinCore.setTitle("x-default", docInfo.getTitle());
      

      Setting the creator via DublinCoreSchema seems to work as it doesn't raise the error anymore after calling

      dublinCore.addCreator(docInfo.getAuthor());

      .

        Attachments

        1. invoice_patched.pdf
          62 kB
          Marcus Ilgner
        2. invoice_old.pdf
          62 kB
          Marcus Ilgner
        3. invoice_converted.pdf
          62 kB
          Marcus Ilgner
        4. pdf1a.xml
          7 kB
          Marcus Ilgner
        5. PDFBOX-2659.diff
          10 kB
          Andreas

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              milgner Marcus Ilgner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: