When I run the following command line
exiftool -G -X -D -f -t -l -use mwg "c:\image1.jpg" > output.xml
the resulting output file contains a duplicated <bag> node for the MWG composite keywords:
<MWG:Keywords>
<rdf:Description et:id='Keywords' et:table='Composite'>
<et:desc>Keywords</et:desc>
<et:prt>
<rdf:Bag>
<rdf:li>DEU</rdf:li>
<rdf:li>Deutschland</rdf:li>
<rdf:li>entertainment</rdf:li>
<rdf:li>events</rdf:li>
</rdf:Bag>
</et:prt>
<et:val>
<rdf:Bag>
<rdf:li>DEU</rdf:li>
<rdf:li>Deutschland</rdf:li>
<rdf:li>entertainment</rdf:li>
<rdf:li>events</rdf:li>
</rdf:Bag>
</et:val>
</rdf:Description>
</MWG:Keywords>
Notes:
I tested the last couple of exiftool.exe versions but all show the same behavior.
The source image contains both IPTC and XMP keywords.
Neither IPTC:Keywords nor XMP:subject are duplicated. Only the MWG composite keywords.
I can supply the original image if needed.
I can't reproduce this behaviour, so if you could send a sample to philharvey66 at gmail.com it would be useful.
While the design is to suppress the <et:val> (numerical) values if they are the same as the <et:prt> (print-converted) values, technically it is not an error to include both in the output file.
- Phil
Hi, Phil
thank you for looking into this. I will send you the original file per email.
I reported this because it happens only with this file (?) and only with the MWG keywords.
Thanks for the sample, I can now reproduce this behaviour and will fix this in the next release.
- Phil
Great :)
As always, thank you very much!