You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2011/06/28 19:40:18 UTC
[jira] [Updated] (PDFBOX-1055)
XMPMetadata.getSchemasByNamespaceURI() implementation inefficient
[ https://issues.apache.org/jira/browse/PDFBOX-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Lehmkühler updated PDFBOX-1055:
---------------------------------------
Fix Version/s: (was: 1.6.0)
Please provide a patch as diff so that it'll be easier to apply it to the codebase.
> XMPMetadata.getSchemasByNamespaceURI() implementation inefficient
> -----------------------------------------------------------------
>
> Key: PDFBOX-1055
> URL: https://issues.apache.org/jira/browse/PDFBOX-1055
> Project: PDFBox
> Issue Type: Improvement
> Components: JempBox
> Affects Versions: 1.5.0
> Reporter: Philip Helger
> Priority: Minor
>
> The implementation of getSchemasByNamespaceURI is inefficient, if no namespace mapping is present.
> You may consider to call "List<XMPSchema> l = getSchemas();" just before the iterator is retrieved.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira