[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 09:35:57 GMT 2018
On mercredi 21 mars 2018 09:57:43 CET Gilles Caulier wrote:
> 2018-03-21 9:44 GMT+01:00 Remco Viëtor <remco.vietor at wanadoo.fr>:
> > 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?
>
> Both. Exiv2 know the namespaces :
>
> https://github.com/Exiv2/exiv2/blob/master/src/properties.cpp#L106
>
> And a XMP sidecar data header indicate which namespace will be used. Both
> must be identical :
>
> [gilles at localhost Example 1]$ cat IMG_7109.xmp |more
> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.5-c002
> 1.148022, 2012/07/15-18:06:45 ">
> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> <rdf:Description rdf:about=""
> xmlns:xmp="http://ns.adobe.com/xap/1.0/"
> <<<< !!!!!!
> xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
> <<<< !!!!!!
> xmlns:exif="http://ns.adobe.com/exif/1.0/"
> <<<< !!!!!!
> xmlns:dc="http://purl.org/dc/elements/1.1/"
> <<<< !!!!!!
> xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
> <<<< !!!!!!
> xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
> <<<< !!!!!!
> xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
> <<<< !!!!!!
> xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
> <<<< !!!!!!
> xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
> <<<< !!!!!!
> xmlns:lr="http://ns.adobe.com/lightroom/1.0/"
> <<<< !!!!!!
> xmp:ModifyDate="2015-02-21T19:34:28.00"
> xmp:CreateDate="2015-02-21T19:34:28.00"
> xmp:MetadataDate="2016-11-28T10:15:25-05:00"
> tiff:Make="Canon"
> tiff:Model="Canon EOS 7D"
> ...
>
> Gilles
Thank you for the clarification.
Funny detail: there's no more server on "ns.adobe.com" (no idea if that's
important in practice)
Remco
More information about the Digikam-users
mailing list