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

XMPMetadata.getSchemas () delivery incorrect result if multiple namespaces are present

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: JempBox
    • Labels:
      None

      Description

      If an RDF document only has a single rdf:description element covering multiple namespaces, the getSchemas () method delivers only the first namespace.
      It can easily be fixed by changing line 613 to:
      for (int j = 0; j < attributes.getLength(); j++)

      Please see the attached file for an example.

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              phax Philip Helger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: