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

XMPSchemaMediaManagement : bad setManagedFrom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • JempBox
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: