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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • JempBox
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: