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