pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Bailleul (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-1243) XMPSchemaMediaManagement : bad setManagedFrom
Date Wed, 29 Feb 2012 19:29:57 GMT

     [ 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

        

Mime
View raw message