Warning: [minor] Fixed incorrect URI for xmlns:MicrosoftPhoto side effect

Started by oozypal, July 17, 2020, 03:28:11 AM

Previous topic - Next topic

oozypal

Hello,

I am using Digikam and Exiftools separately. Every time Digikam writes metadata to the image, exfitools complains with this error:

Warning: [minor] Fixed incorrect URI for xmlns:MicrosoftPhoto

Ok. It is a minor error. But the side effect is my Category gets truncated to 3 letters. For example Travel become Tra. Family becomes Fam.

How can I make fix this error?
May I ask to help me to make Digikam behave and not to cause this error?

Thx

StarGeek

You don't give the command used or the actual location of your Category (see FAQ #3), but I suspect it's IPTC:Category.  If you check the IPTC Tag Page, you'll see that IPTC:Category has a limit of three characters.  As per the 3rd paragraph at the top of that page, add the -m (ignoreMinorErrors) option to override the character limit of the IPTC specs.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

oozypal

I think the limitation has nothing to do with it.

This is the original output


exiftool -category 20051107_173254.jpg
Category                        : Travel

After I went to DigiKam and I made simple change like adding a keyword then I did

exiftool -category 20051107_173254.jpg
Category                        : Tra


If it was for the limitation, then why in the first place and before Digikam wrote the metadata to the file, the word Travel is in full?

At any rate, I am a newbie and I would appreciate it if you can help me with some command to troubleshoot the issue.

Phil Harvey

Try this command on both files:

exiftool -a -G1 -category FILE

I'm thinking that Category exists in both IPTC and XMP, and you are just looking at a different one after editing with Digikam.

IPTC has a 3-character limit, but XMP doesn't (and your minor warning was in the XMP, so I know the file contains XMP, even though the warning is unrelated).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

oozypal

 ;D ;D

You are right.

See attachment.

Now, the question to stop Digikam from messing up metadata

Warning: [minor] Fixed incorrect URI for xmlns:MicrosoftPhoto