ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:23 AM

Title: Certain XMP tags lost on subsequent update.
Post by: Archive on May 12, 2010, 08:54:23 AM
[Originally posted by clr on 2008-08-07 14:44:07-07]

Hello Forum,

I have a new XMP schema installed.  You can see the schema file here:

http://github.com/clr/astronomy_visualization_metadata_exiftool_profile/tree/master/.ExifTool_config

This schema is rather strange in that the tag names include periods; for example, there is a tag 'Spatial.Notes', etc.  I noticed that I can set this tag using
Code:
exiftool -xmp-avm:Spatial.Notes="stuff" filename
and
Code:
exiftool -b -xmp filename | grep Spatial.Notes
shows that it properly updates the file.  However, any subsequent update to the XMP will result in 'Spatial.Notes' disappearing.

I assume that this is a bug, since the behavior seems erratic.  I would offer a solution, but I'm not too familiar with Perl.  I hope I have properly described the issue.

Thanks!

-CLR
Title: Re: Certain XMP tags lost on subsequent update.
Post by: Archive on May 12, 2010, 08:54:24 AM
[Originally posted by exiftool on 2008-08-15 11:28:12-07]

ExifTool tag names may not contain periods.  The tag ID's
may have periods, but for these tags you must specify
a different tag name.  ie)

Code:
'Spatial.Notes' => { Name => 'SpatialNotes' },

- Phil