pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lindberg, Chris J." <lindbe...@llnl.gov>
Subject bug: XMPSchemaMediaManagement setManagedFrom
Date Fri, 24 Feb 2012 20:51:22 GMT
Hi,

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 );
}

Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message