Testcase 1
==========
Xmp.dc.description                           LangAlt     1  lang="x-default" The Exif image description
Exif.Image.ImageDescription                  Ascii      27  The Exif image description
Iptc.Application2.Caption                    String     26  The Exif image description
Iptc.Envelope.CharacterSet                   String      3  %G

Testcase 2
==========
Xmp.dc.description                           LangAlt     1  lang="x-default" The Exif image description
Exif.Image.ImageDescription                  Ascii      27  The Exif image description
Iptc.Envelope.CharacterSet                   String      3  %G
Iptc.Application2.Caption                    String     26  The Exif image description

Testcase 3
==========
Xmp.dc.description                           LangAlt     1  lang="de-DE" The Exif image description
Exif.Image.ImageDescription                  Ascii      27  The Exif image description
Iptc.Envelope.CharacterSet                   String      3  %G
Iptc.Application2.Caption                    String     26  The Exif image description

Testcase 4
==========
Warning: Failed to convert Xmp.dc.description to Iptc.Application2.Caption
Warning: Failed to convert Xmp.dc.description to Exif.Image.ImageDescription
Xmp.dc.description                           LangAlt     2  lang="it-IT" Ciao bella, lang="de-DE" The Exif image description
File 1/1: k.jpg
k.jpg: No Exif data found in the file
File 1/1: k.jpg
k.jpg: No IPTC data found in the file

Testcase 5
==========
Warning: Failed to convert Xmp.dc.description to Iptc.Application2.Caption
Warning: Failed to convert Xmp.dc.description to Exif.Image.ImageDescription
     <rdf:li xml:lang="x-default">How to fix this mess</rdf:li>
Xmp.dc.description                           LangAlt     3  lang="x-default" How to fix this mess, lang="it-IT" Ciao bella, lang="de-DE" The Exif image description
Exif.Image.ImageDescription                  Ascii      21  How to fix this mess
Iptc.Envelope.CharacterSet                   String      3  %G
Iptc.Application2.Caption                    String     20  How to fix this mess

Testcase 6
==========
Exif.Image.ExifTag                           Long        1  26
Exif.Photo.UserComment                       Undefined  59  charset="Jis" This is a JIS encoded Exif user comment. Or was it?
Xmp.exif.UserComment                         LangAlt     1  lang="x-default" This is a JIS encoded Exif user comment. Or was it?
Exif.Photo.UserComment                       Undefined 110  charset="Unicode" This is a JIS encoded Exif user comment. Or was it?
File 1/1: m.xmp
m.xmp: No IPTC data found in the file

Testcase 7
==========
Xmp.exif.UserComment                         LangAlt     1  lang="x-default" This is a JIS encoded Exif user comment. Or was it?
Exif.Image.ExifTag                           Long        1  26
Exif.Photo.UserComment                       Undefined 110  charset="Unicode" This is a JIS encoded Exif user comment. Or was it?
File 1/1: n.jpg
n.jpg: No IPTC data found in the file

Testcase 8
==========
Iptc.Application2.Keywords                   String      3  Sex
Iptc.Application2.Keywords                   String      5  Drugs
Iptc.Application2.Keywords                   String     11  Rock'n'roll
Xmp.dc.subject                               XmpBag      3  Sex, Drugs, Rock'n'roll
File 1/1: o.xmp
o.xmp: No Exif data found in the file
Iptc.Application2.Keywords                   String      3  Sex
Iptc.Application2.Keywords                   String      5  Drugs
Iptc.Application2.Keywords                   String     11  Rock'n'roll
Iptc.Envelope.CharacterSet                   String      3  %G

Testcase 9
==========
Xmp.dc.subject                               XmpBag      3  Sex, Drugs, Rock'n'roll
File 1/1: p.jpg
p.jpg: No Exif data found in the file
Iptc.Envelope.CharacterSet                   String      3  %G
Iptc.Application2.Keywords                   String     11  Rock'n'roll

Testcase 10
===========
Exif.Image.Software                          Ascii       6  Exiv2
Xmp.tiff.Software                            XmpText     5  Exiv2
Exif.Image.Software                          Ascii       6  Exiv2
File 1/1: q.xmp
q.xmp: No IPTC data found in the file

Testcase 11
===========
Xmp.tiff.Software                            XmpText     5  Exiv2
Exif.Image.Software                          Ascii       6  Exiv2
File 1/1: r.jpg
r.jpg: No IPTC data found in the file

Testcase 12
===========
Iptc.Application2.SubLocation                String     12  Kuala Lumpur
Xmp.iptc.Location                            XmpText    12  Kuala Lumpur
File 1/1: s.xmp
s.xmp: No Exif data found in the file
Iptc.Application2.SubLocation                String     12  Kuala Lumpur
Iptc.Envelope.CharacterSet                   String      3  %G

Testcase 13
===========
Xmp.iptc.Location                            XmpText    12  Kuala Lumpur
File 1/1: t.jpg
t.jpg: No Exif data found in the file
Iptc.Envelope.CharacterSet                   String      3  %G
Iptc.Application2.SubLocation                String     12  Kuala Lumpur

Testcase 14
===========
Exif.Image.ExifTag                           Long        1  38
Exif.Photo.ExifVersion                       Undefined   4  48 50 50 49
Exif.Photo.DateTimeOriginal                  Ascii      20  2003:12:14 12:01:44
Exif.Photo.ComponentsConfiguration           Undefined   4  1 2 3 0
Exif.Photo.Flash                             Short       1  73
Exif.Photo.SubSecTimeOriginal                Ascii      10  999999999
Exif.Image.GPSTag                            Long        1  134
Exif.GPSInfo.GPSVersionID                    Byte        4  2 2 0 1
Exif.GPSInfo.GPSLatitudeRef                  Ascii       2  N
Exif.GPSInfo.GPSLatitude                     Rational    3  3/1 8/1 29734512/1000000
Exif.GPSInfo.GPSTimeStamp                    Rational    3  1/1 2/1 999999999/1000000000
Xmp.exif.ExifVersion                         XmpText     4  2.21
Xmp.exif.GPSVersionID                        XmpText     7  2.2.0.1
Xmp.exif.GPSLatitude                         XmpText    12  3,8.4955752N
Xmp.exif.GPSTimeStamp                        XmpText    29  2003-12-14T01:02:00.999999999
Xmp.exif.ComponentsConfiguration             XmpSeq      4  YCbCr
Xmp.exif.Flash                               XmpText     0  type="Struct"
Xmp.exif.Flash/exif:Fired                    XmpText     4  True
Xmp.exif.Flash/exif:Return                   XmpText     1  0
Xmp.exif.Flash/exif:Mode                     XmpText     1  1
Xmp.exif.Flash/exif:Function                 XmpText     5  False
Xmp.exif.Flash/exif:RedEyeMode               XmpText     4  True
Xmp.photoshop.DateCreated                    XmpText    29  2003-12-14T12:01:44.999999999
Exif.Photo.ExifVersion                       Undefined   4  48 50 50 49
Exif.Photo.ComponentsConfiguration           Undefined   4  1 2 3 0
Exif.Photo.DateTimeOriginal                  Ascii      20  2003:12:14 12:01:44
Exif.Photo.SubSecTimeOriginal                Ascii      10  999999999
Exif.Photo.Flash                             Short       1  73
Exif.GPSInfo.GPSVersionID                    Byte        4  2 2 0 1
Exif.GPSInfo.GPSLatitude                     Rational    3  3/1 8/1 1858407/62500
Exif.GPSInfo.GPSLatitudeRef                  Ascii       2  N
Exif.GPSInfo.GPSTimeStamp                    Rational    3  1/1 2/1 999999999/1000000000
Exif.GPSInfo.GPSDateStamp                    Ascii      11  2003:12:14
Iptc.Application2.DateCreated                Date        8  2003-12-14
Iptc.Envelope.CharacterSet                   String      3  %G

Testcase 15
===========
Xmp.exif.ExifVersion                         XmpText     4  2.21
Xmp.exif.GPSVersionID                        XmpText     7  2.2.0.1
Xmp.exif.GPSLatitude                         XmpText    12  3,8.4955752N
Xmp.exif.GPSTimeStamp                        XmpText    29  2003-12-14T01:02:00.999999999
Xmp.exif.Flash                               XmpText     0  type="Struct"
Xmp.exif.Flash/exif:Fired                    XmpText     4  True
Xmp.exif.Flash/exif:Return                   XmpText     1  0
Xmp.exif.Flash/exif:Mode                     XmpText     1  1
Xmp.exif.Flash/exif:Function                 XmpText     5  False
Xmp.exif.Flash/exif:RedEyeMode               XmpText     4  True
Xmp.exif.ComponentsConfiguration             XmpSeq      4  YCbCr
Xmp.xmp.ModifyDate                           XmpText    20  2015-04-17T18:10:22Z
Xmp.photoshop.DateCreated                    XmpText    29  2003-12-14T12:01:44.999999999
Exif.Image.DateTime                          Ascii      20  2015:04:18 02:10:22
Exif.Image.ExifTag                           Long        1  70
Exif.Photo.ExifVersion                       Undefined   4  48 50 50 49
Exif.Photo.DateTimeOriginal                  Ascii      20  2003:12:14 12:01:44
Exif.Photo.ComponentsConfiguration           Undefined   4  1 2 3 0
Exif.Photo.Flash                             Short       1  73
Exif.Photo.SubSecTimeOriginal                Ascii      10  999999999
Exif.Image.GPSTag                            Long        1  166
Exif.GPSInfo.GPSVersionID                    Byte        4  2 2 0 1
Exif.GPSInfo.GPSLatitudeRef                  Ascii       2  N
Exif.GPSInfo.GPSLatitude                     Rational    3  3/1 8/1 1858407/62500
Exif.GPSInfo.GPSTimeStamp                    Rational    3  1/1 2/1 999999999/1000000000
Exif.GPSInfo.GPSDateStamp                    Ascii      11  2003:12:14
Iptc.Envelope.CharacterSet                   String      3  %G
Iptc.Application2.DateCreated                Date        8  2003-12-14
