XMP array tags of type BAG and SEQ can have multiple values, each of which is on a separate line. However, we were reading and saving it as just one value. We change this by setting each line as a separate value with gexiv2_metadata_set_tag_multiple. In addition to that we found that setting the type of tag struct with gexiv2_metadata_set_xmp_tag_struct caused arrays of multiple values per tag to be set incorrectly: the last value in the list got added multiple times. I'm not sure if we are using this function incorrectly, or that there is a bug in gexiv2 or exiv2. Anyway, since it seems that all tags and values I tested work without calling this function, let's just omit this call. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| meson.build | ||
| metadata-editor.c | ||
| metadata-editor.h | ||
| metadata-impexp.c | ||
| metadata-impexp.h | ||
| metadata-misc.h | ||
| metadata-tags.c | ||
| metadata-tags.h | ||
| metadata-viewer.c | ||
| metadata-xml.c | ||
| metadata-xml.h | ||