[Kde-imaging] [Bug 181853] entring new xmp meta data removes old one from the image file

Andreas Huggel ahuggel at gmx.net
Thu Jan 29 16:48:42 CET 2009


http://bugs.kde.org/show_bug.cgi?id=181853





--- Comment #23 from Andreas Huggel <ahuggel gmx net>  2009-01-29 16:48:42 ---
On line 417 of xmpproperties.cpp, this

   exiv2Iface.setXmpTagString("Xmp.dc.language", d->languageBtn->current());

creates a Exiv2::xmpText value. But Xmp.dc.language is a composite XmpBag. With
the following command, I can now recreate the problem:

   $ exiv2 -M'add Xmp.dc.language XmpText he' img_0395-new_5.jpg 
   XMP Toolkit error 102: Composite nodes can't have values
   Error: Failed to encode XMP metadata.

Apparently the Adobe XMP toolkit requires the property to be set to the correct
type of value (I think it should just follow instructions, but that doesn't
matter here). This is correct:

   $ exiv2 -M'add Xmp.dc.language XmpBag he' img_0395-new_5.jpg

and digiKam needs to do something similar. What is still unclear is where the
correct language property comes from. Is there another place where the language
is set?

Andreas


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list