Hi all,

I'm handling reading sidecar XMP, and wanted to know what people thought
about handling arrays in XMP.  i.e.:

  <dc:subject>
    <rdf:Bag>
      <rdf:li>keyword 1</rdf:li>
      <rdf:li>another keyword</rdf:li>
    </rdf:Bag>
   </dc:subject>

This would be added to the DC:Subject field.  Is it reasonable to
represent the array as a comma-separated list of items, as in "keyword
1, another keyword".

Also, there's the case of multiple values, where each represents the
value in a particular language.  i.e.:

  <dc:title>
    <rdf:Alt>
      <rdf:li xml:lang="x-default">Extensible Metadata Platform</rdf:li>
      <rdf:li xml:lang="it-IT">Piattaforma Estendibile di Metadata</rdf:li>
    </rdf:Alt>
   </dc:title>

Should I try reading the current locale and add based on that?  If the
language isn't matched, it would use the value of "x-default".  Or maybe
both x-default and the  locale match could be added, comma-separated?

Cheers,
Jason
_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to