error displaying value of XMP-dc:rights tag

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

error displaying value of XMP-dc:rights tag

Post by herb »

Hello,

To some of my images I have added language depending values of e.g. the tag -xmp-dc:rights.
The XMP looks like

Code: Select all

<dc:rights>
  <rdf:Alt>
    <rdf:li>copyright</rdf:li>
    <rdf:li xml:lang='de'>copyright-de</rdf:li>
  </rdf:Alt>
</dc:rights>
Opening the XMP tab of this image with XnViewMP the values of xmp-dc:rights are displayed as follows:
But this is not correct for me, because there is
- no language x-repair
- no XMP subgroup xmp:rights[1] and xmp:rights[2]

The language information should be a sub-value of the corresponding rights[x] only.

Best regards
Herb
You do not have the required permissions to view the files attached to this post.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

I have seen that you did some corrections to issue 353 (http://newsgroup.xnview.com/viewtopic.php?f=62&t=29776).

Please have also a look to this topic:
In case of an image has the following values for xmp-dc:rights tag:
- language independent value: rights
- value for german language: Rechte
- value for english language: rights-en.

XnViewMP 0.68 displays these values as follows (please see screenshot above):

Code: Select all

dc
  -rights[1] rights
  -rights[2] Rechte
rights[2]
  -lang      de
de
  -rights[3] rights-en
rights[3]
  -lang      en
For me the display is wrong. A correct display would be

Code: Select all

dc
  -rights      rights
  -rights-de   Rechte
  -rights-en   rights-en
Best regards
Herb
User avatar
xnview
Author of XnView
Posts: 47297
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: error displaying value of XMP-dc:rights tag

Post by xnview »

could you send me a picture file with such XMP?
Pierre.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

I sent such a file via mail.

In addition to my proposal above the tags maybe can also be displayed as:

Code: Select all

dc
  -rights       rights
  -rights[de]   Rechte
  -rights[en]   rights-en
So it looks like an arry with index.

Thanks and best regards
Herb
User avatar
xnview
Author of XnView
Posts: 47297
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: error displaying value of XMP-dc:rights tag

Post by xnview »

See Issue 403 for current status and details.
Pierre.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

thanks for the correction in version 0.69 of XnViewMP.
But I regret the correction has been done only partly.

In case of the file contains the tags: "-xmp:rights, -xmp:rigths-en and -xmp:rights-de" everything is displayed correct. The now choosen format is wonderful.
But in case of the file contains only 2 rights-tags: "-xmp:rights and -xmp:rigths-en" for both an identical value is displayed although their values are different.

Sorry and best regards
Herb
User avatar
xnview
Author of XnView
Posts: 47297
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: error displaying value of XMP-dc:rights tag

Post by xnview »

Please send me a sample file?
Pierre.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

thanks for investigating in this problem.
I prepared a file (with Exiftool) that contains various combinations of tags with a behaviour like -xmp:rights:
-xmp:title has 3 values (base-value, en and fr)
-xmp:description has only 1 value (en, but no base-value)
-xmp:rights has 2 values (base-value and de)
-xmp:usercomment has also 3 values (base-value, en and fr)

XnViewMP 0.69 displays for tag -xmp:rights and -xmp:rights-de always the identical base-value.

Best regards
Herb
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47297
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: error displaying value of XMP-dc:rights tag

Post by xnview »

If i check XMP, i see

Code: Select all

.....X.XXX. dc:rights =
..X...X...X dc:rights[1] = rights
...X..X...X dc:rights[1]/?xml:lang = x-default
..X...X...X dc:rights[2] = rights
...X..X...X dc:rights[2]/?xml:lang = de
so same value...
Pierre.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

attached please find the xmp-data which are stored inside the example file of my previous post and attached please also find 2 screenshots:
xmp-data displayed by XnViewMP 0.69 and xmp-data displayed by Exiftool.

Exiftool displays
-xmp:Rights=rights
-xmp:Rights(de)=Rechte

XnViewMP displays
-xmp:rights=rights
-xmp:rights[de]=rights

I am sorry, but the output of Exiftool is the correct one.
Best regards
Herb
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47297
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: error displaying value of XMP-dc:rights tag

Post by xnview »

yes you are right, it seems that the API from adobe that i use has a problem...
Pierre.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

do you have some news how to solve this problem?

Best regards
Herb
User avatar
xnview
Author of XnView
Posts: 47297
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: error displaying value of XMP-dc:rights tag

Post by xnview »

currently no :(
Pierre.
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

some news on that problem?

Best regards
Herb
herb
Posts: 285
Joined: Sat Jul 18, 2009 3:19 pm

Re: error displaying value of XMP-dc:rights tag

Post by herb »

Hello Pierre,

is there any hope that the problem will be fixed by Adobe?
Currently I use version 0.93 on Win 7.

Best regards
Herb