Public bug reported:
When reading XMP metadata from image files, exiv2 (and gexiv2) give
sometimes no output, although metadata are present. This is the case
when duplicate tags are present.
While dulicate tags are incorrect and inconsistent, we can not blame
some software that did not properly write XMP data, because in real-
world scenarios, users DO have image files with duplicate tags, and
these files DO contain metadata.
Observation:
$ exiv2 -px example_duplicate_tags.jpg
Error: XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
example_duplicate_tags.jpg: (No XMP data found in the file)
By contrast, `exiftool example_duplicate_tags.jpg` prints all metadata
and ignores duplicates.
Expectation:
exiv2 should give access to all readable tags. If some XMP tags are
inconsistent, it should only be indicated by a warning but not a denial
of operation. In case of duplicates the question is open whether to
return the last occuring value or the first.
Ubuntu 16.10
exiv2 0.25-3
libexiv2-14 0.25-3
** Affects: exiv2 (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "example image (only downsampled to reduce filesize)"
https://bugs.launchpad.net/bugs/1662864/+attachment/4815330/+files/example_duplicate_tags.jpg
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662864
Title:
exiv2 fails to read xml metadata when duplicates present
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/exiv2/+bug/1662864/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs