You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Philip Helger (JIRA)" <ji...@apache.org> on 2011/06/27 13:44:47 UTC

[jira] [Updated] (PDFBOX-1052) XMPMetadata.getSchemas () delivery incorrect result if multiple namespaces are present

     [ https://issues.apache.org/jira/browse/PDFBOX-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Helger updated PDFBOX-1052:
----------------------------------

    Attachment: multiple-namespaces-in-rdf-description.xml

> 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
>         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