Skip to content

Slight adjustment of XMP indentation.

Created originally on Bitbucket by daniel_fort (Daniel Fort)

Was already merged in Bitbucket before import, marked as merged by the import user

A couple of the XMP tags indentations are off.

Currently it looks like this:

#!lua

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c011 79.156380, 2014/05/21-23:38:37        ">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
    exif:ExifVersion="0230"
        exif:FNumber="14/10"
    exif:FocalLength="50/1"
    aux:Lens="Zeiss Planar T* 1.4/50 ZF.2"
>
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>

Note the extra indentation on the "exif:FNumber" element and no indentation on the angle bracket that closes the "rdf:Description rdf:about" group. This pull request creates an XML that looks like this:

#!lua
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c011 79.156380, 2014/05/21-23:38:37        ">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
    exif:ExifVersion="0230"
    exif:FNumber="14/10"
    aux:Lens="Zeiss Planar T* 1.4/50 ZF.2"
    exif:FocalLength="50/1"
    >
  </rdf:Description>
 </rdf:RDF>
</x:xmpmeta>

http://www.magiclantern.fm/forum/index.php?topic=18083.msg177906#msg177906

Merge request reports

Loading