ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: hvdwolf on July 20, 2020, 07:19:47 AM

Title: bug? string+ and struct+ not correctly reported in -listx command
Post by: hvdwolf on July 20, 2020, 07:19:47 AM
When doing the "exiftool -listx"  command, all "string+" variables are reported as string.
For example "xmp-acdsee:keywords" or "xmp:subject", but same for all the string+ ones. Same for all the struct+ tags too.
The HTML pages show them correctly, the -listx generated xml output lack them. I guess the parsing simply skips the "+" .

I checked with 10.80 and 12.01.
Title: Re: bug? string+ and struct+ not correctly reported in -listx command
Post by: Phil Harvey on July 20, 2020, 10:13:22 AM
The "type" in the XML output isn't the same as in the html documentation.  Add the -f flag to see what you want.  You may want to read the -listx documentation to see the available options.

- Phil
Title: Re: bug? string+ and struct+ not correctly reported in -listx command
Post by: hvdwolf on July 22, 2020, 06:31:08 AM
Thanks. Most is clear now. I thought I had read the POD, tagnames and XMP tags pages carefully but missed the List <-> string+ relation. Sorry for being sloppy.

And when searching the POD, tagnames and XMP tags pages (and some other pages as well), I could not find an explanation for the Bag flag mentioned for XMP tags.
Maybe I also missed that one, but I tried/searched several times to find it.

I can no longer edit/modify the first post otherwise I would have changed the title.
Title: Re: bug? string+ and struct+ not correctly reported in -listx command
Post by: Phil Harvey on July 22, 2020, 07:26:01 AM
The Bag/Seq/Alt list types are particular to the XMP specification.  Conceptually they are different, but practically they all behave the same way.

- Phil