You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Guillaume Bailleul (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/29 20:29:57 UTC
[jira] [Resolved] (PDFBOX-1243) XMPSchemaMediaManagement : bad
setManagedFrom
[ https://issues.apache.org/jira/browse/PDFBOX-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Bailleul resolved PDFBOX-1243.
----------------------------------------
Resolution: Fixed
> XMPSchemaMediaManagement : bad setManagedFrom
> ----------------------------------------------
>
> Key: PDFBOX-1243
> URL: https://issues.apache.org/jira/browse/PDFBOX-1243
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.6.0
> Reporter: Guillaume Bailleul
> Assignee: Guillaume Bailleul
> Priority: Minor
> Fix For: 1.7.0
>
>
> Mail from Chris J Lindberg :
> While trying to decide on how to implement qualifiers I came across what appears to be a copy and paste error in the XMPSchemaMediaManagment setManagedFrom method. Instead of using prefix + ":ManagedFrom" it uses prefix + ":DerivedFrom"
> Here is the 1.6.0 source:
> /**
> * Set or clear the managed from value.
> *
> * @param resource The resource reference to set.
> *
> * @see XMPSchemaMediaManagement#createManagedFrom()
> */
> public void setManagedFrom( ResourceRef resource )
> {
> XMLUtil.setElementableValue( schema, prefix + ":DerivedFrom", resource );
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira