[digiKam-users] Importing xmp data from Lightroom 4.4 to Digikam 5.5.0

Remco Viƫtor remco.vietor at wanadoo.fr
Wed Mar 21 08:44:43 GMT 2018


On mercredi 21 mars 2018 08:44:05 CET Gilles Caulier wrote:
> Hi,
> 
> I just tested your test photos, and i think i found the reason why the LR
> metadata are not backported to DK :
> 
> digikam.metaengine: Exiv2 ( 3 ) :  XMP Toolkit error 101: Schema namespace
> URI and prefix mismatch
> digikam.metaengine: Exiv2 ( 2 ) :  Failed to decode XMP metadata.
> 
> These lines are written on the console by Exiv2 library when files are
> parsed to be registered in database.
> 
> An XMP namespace is badly defined in Exiv2 (the URI use to identify the
> namespace). Probably Adobe change the URI as well (which can be a mess).
> I'm not yet sure. I continue to search.

Are those namespaces defined within Exiv2, or within the XMP files? I.e. are the 
URI's that play a role here defined within Exiv2 or by the program that wrote 
the XMP (in this case lightroom)? As I understand namespaces, having them 
defined within the library that reads the data would defeat portability of XML 
data.

And when I look at a Digikam sidecar, I see a bunch of lines of the form 
xmlns:<prefix>="<URL>" with the prefixes then used later in the different data 
items.

In this case, if LR indicates a non-existing or wrong namespace, of course 
Exiv2/Digikam will have a problem...

Remco



More information about the Digikam-users mailing list