<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-03-21 9:44 GMT+01:00 Remco Viëtor <span dir="ltr"><<a href="mailto:remco.vietor@wanadoo.fr" target="_blank">remco.vietor@wanadoo.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On mercredi 21 mars 2018 08:44:05 CET Gilles Caulier wrote:<br>
> Hi,<br>
><br>
> I just tested your test photos, and i think i found the reason why the LR<br>
> metadata are not backported to DK :<br>
><br>
> digikam.metaengine: Exiv2 ( 3 ) :  XMP Toolkit error 101: Schema namespace<br>
> URI and prefix mismatch<br>
> digikam.metaengine: Exiv2 ( 2 ) :  Failed to decode XMP metadata.<br>
><br>
> These lines are written on the console by Exiv2 library when files are<br>
> parsed to be registered in database.<br>
><br>
> An XMP namespace is badly defined in Exiv2 (the URI use to identify the<br>
> namespace). Probably Adobe change the URI as well (which can be a mess).<br>
> I'm not yet sure. I continue to search.<br>
<br>
</span>Are those namespaces defined within Exiv2, or within the XMP files?</blockquote><div><br></div><div>Both. Exiv2 know the namespaces :</div><div><br></div><div><a href="https://github.com/Exiv2/exiv2/blob/master/src/properties.cpp#L106">https://github.com/Exiv2/exiv2/blob/master/src/properties.cpp#L106</a><br></div><div><br></div><div>And a XMP sidecar data header indicate which namespace will be used. Both must be identical :</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">[gilles@localhost Example 1]$ cat IMG_7109.xmp |more
</span><br><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.5-c002 1.148022, 2012/07/15-18:06:45        ">
<br> <rdf:RDF xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>">
<br>  <rdf:Description rdf:about=""
<br>    xmlns:xmp="<a href="http://ns.adobe.com/xap/1.0/">http://ns.adobe.com/xap/1.0/</a>"                                <<<< !!!!!!<br>    xmlns:tiff="<a href="http://ns.adobe.com/tiff/1.0/">http://ns.adobe.com/tiff/1.0/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                             <<<< !!!!!!</span><br>    xmlns:exif="<a href="http://ns.adobe.com/exif/1.0/">http://ns.adobe.com/exif/1.0/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                             <<<< !!!!!!</span><br>    xmlns:dc="<a href="http://purl.org/dc/elements/1.1/">http://purl.org/dc/elements/1.1/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                            <<<< !!!!!!</span><br>    xmlns:aux="<a href="http://ns.adobe.com/exif/1.0/aux/">http://ns.adobe.com/exif/1.0/aux/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                          <<<< !!!!!!</span><br>    xmlns:photoshop="<a href="http://ns.adobe.com/photoshop/1.0/">http://ns.adobe.com/photoshop/1.0/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                   <<<< !!!!!!</span><br>    xmlns:xmpMM="<a href="http://ns.adobe.com/xap/1.0/mm/">http://ns.adobe.com/xap/1.0/mm/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                          <<<< !!!!!!</span><br>    xmlns:stEvt="<a href="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#">http://ns.adobe.com/xap/1.0/sType/ResourceEvent#</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">         <<<< !!!!!!</span><br>    xmlns:crs="<a href="http://ns.adobe.com/camera-raw-settings/1.0/">http://ns.adobe.com/camera-raw-settings/1.0/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">               <<<< !!!!!!</span><br>    xmlns:lr="<a href="http://ns.adobe.com/lightroom/1.0/">http://ns.adobe.com/lightroom/1.0/</a>"
<span style="color:rgb(34,34,34);font-family:monospace;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">                          <<<< !!!!!!</span><br>   xmp:ModifyDate="2015-02-21T19:34:28.00"
<br>   xmp:CreateDate="2015-02-21T19:34:28.00"
<br>   xmp:MetadataDate="2016-11-28T10:15:25-05:00"
<br>   tiff:Make="Canon"
<br>   tiff:Model="Canon EOS 7D"<br>
...<br></span><br></div><div>Gilles</div></div></div></div>