[
https://issues.apache.org/jira/browse/PDFBOX-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1052.
----------------------------------------
Resolution: Fixed
Assignee: Andreas Lehmkühler
I applied the patch in revision as proposed.
Thanks for the contribution
> XMPMetadata.getSchemas () delivery incorrect result if multiple namespaces
> are present
> --------------------------------------------------------------------------------------
>
> Key: PDFBOX-1052
> URL: https://issues.apache.org/jira/browse/PDFBOX-1052
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.5.0
> Reporter: Philip Helger
> Assignee: Andreas Lehmkühler
> Fix For: 1.6.0
>
> Attachments: multiple-namespaces-in-rdf-description.xml
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira