GNOME Bugzilla – Bug 666865
metadata issue - The end of element <xmpMM:DerivedFrom> was not expected in this context
Last modified: 2013-02-06 23:19:52 UTC
I´am on openSUSE12.1 64bit with GIMP2.7.5 git 1324799282 When I import a special picture(I attach, when it is not to big) I get the gdb message(german): While parsing XMP metadata: Fehler in Zeile 51 Zeichen 1: Das Ende von Element <xmpMM:DerivedFrom> wurde in diesem Zusammenhang nicht erwartet Metadata parasite seems to be corrupt Translated it should be: While parsing XMP metadate: Error in line 51 symbol 1: The end of element <xmpMM:DerivedFrom> was not expected in this context Metadata parasite seems to be corrupt -------------------------------------------------------------------------------- I could not decide if it is a problem of metadata tagging or a problem of the parser itself. So when attaching the picture is working please have a look. When the picture is to big and you are interested, please give me a other upload possibility.
Upload failed.
Can you attach a smaller image that causes the same problem?
I will look for, but it is not so easy to find one that is under 1MB.
I had a similar report at http://bugs.debian.org/682791: # Take out of camera jpeg. - Correct behavior, no XMP is present ametzler@argenau:~/IMAGES/gimp-bug$ LC_ALL=C gimp P1030069.JPG While parsing XMP metadata: Error: No XMP packet found # Add XMP-iptcCore:Location ametzler@argenau:~/IMAGES/gimp-bug$ cp P1030069.JPG P1030069-XMPLocation.jpeg ametzler@argenau:~/IMAGES/gimp-bug$ exiftool -overwrite_original_in_place -XMP-iptcCore:Location="Desktop" P1030069-XMPLocation.jpeg 1 image files updated ametzler@argenau:~/IMAGES/gimp-bug$ LC_ALL=C gimp P1030069-XMPLocation.jpeg While parsing XMP metadata: Error on line 49 char 1: End of element <exif:Flash> not expected in this context Metadata parasite seems to be corrupt # Lets make another try, using exiv2 instead of exiftool ametzler@argenau:~/IMAGES/gimp-bug$ cp P1030069.JPG P1030069-xmp_set_with_exiv2.JPG ametzler@argenau:~/IMAGES/gimp-bug$ exiv2 mo -M 'set Xmp.iptc.Location XmpText Desktop' P1030069-xmp_set_with_exiv2.JPG ametzler@argenau:~/IMAGES/gimp-bug$ LC_ALL=C gimp P1030069-xmp_set_with_exiv2.JPG While parsing XMP metadata: Error on line 49 char 1: End of element <exif:Flash> not expected in this context Metadata parasite seems to be corrupt ------------------- Camera is a Panasonic Lumix G2
Created attachment 225429 [details] original image
Created attachment 225430 [details] modified image
Thanks for this report. I'll merge it with #667038 and flag this one as a duplicate. *** This bug has been marked as a duplicate of bug 667038 ***