Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1243

XMPSchemaMediaManagement : bad setManagedFrom

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: JempBox
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              gbm.bailleul Guillaume Bailleul
              Reporter:
              gbm.bailleul Guillaume Bailleul
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: