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 2014/06/23 18:47:25 UTC
[jira] [Resolved] (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 resolved PDFBOX-1055.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.7
I've added the patch in revision http://svn.apache.org/r1604875 to the 1.8 branch. I won't add the change to the trunk as it looks like JempBox is going to be discontinued.
Thanks for the contribution!
> 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
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 1.8.7
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)