#640 #751 Fix to test suit to prevent crash in exiv2json -x test/data/BlueSquare.xmp (see #751 for discussion)

v0.27.3
Robin Mills 10 years ago
parent 8898173c03
commit 7094254bd3

@ -371,8 +371,8 @@ source ./functions.source
echo '------>' Bug $num '<-------' >&2 echo '------>' Bug $num '<-------' >&2
copyTestFile BlueSquare.xmp $filename1 copyTestFile BlueSquare.xmp $filename1
copyTestFile exiv2-bug784.jpg $filename2 copyTestFile exiv2-bug784.jpg $filename2
# runTest exiv2json $filename1 TODO: This is Throwing runTest exiv2json $filename1
# runTest exiv2json x $filename1 Caught Exiv2 exception 'XMP Toolkit error 9: Fatal namespace map problem' runTest exiv2json x $filename1
runTest exiv2json $filename2 runTest exiv2json $filename2
num=1058 num=1058

@ -3,19 +3,19 @@
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about="" <rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xap="http://ns.adobe.com/xap/1.0/" xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:exif="http://ns.adobe.com/exif/1.0/"
dc:format="image/jpeg" dc:format="image/jpeg"
xap:CreatorTool="Adobe Photoshop CS2 Macintosh" xmp:CreatorTool="Adobe Photoshop CS2 Macintosh"
xap:CreateDate="2005-09-07T15:07:40-07:00" xmp:CreateDate="2005-09-07T15:07:40-07:00"
xap:ModifyDate="2005-09-07T15:09:51-07:00" xmp:ModifyDate="2005-09-07T15:09:51-07:00"
xap:MetadataDate="2006-04-10T13:37:10-07:00" xmp:MetadataDate="2006-04-10T13:37:10-07:00"
xapMM:DocumentID="uuid:9A3B7F52214211DAB6308A7391270C13" xmpMM:DocumentID="uuid:9A3B7F52214211DAB6308A7391270C13"
xapMM:InstanceID="uuid:B59AC1B3214311DAB6308A7391270C13" xmpMM:InstanceID="uuid:B59AC1B3214311DAB6308A7391270C13"
photoshop:ColorMode="3" photoshop:ColorMode="3"
photoshop:ICCProfile="sRGB IEC61966-2.1" photoshop:ICCProfile="sRGB IEC61966-2.1"
tiff:Orientation="1" tiff:Orientation="1"
@ -51,7 +51,7 @@
<rdf:li>.jpg</rdf:li> <rdf:li>.jpg</rdf:li>
</rdf:Bag> </rdf:Bag>
</dc:subject> </dc:subject>
<xapMM:DerivedFrom <xmpMM:DerivedFrom
stRef:instanceID="uuid:9A3B7F4F214211DAB6308A7391270C13" stRef:instanceID="uuid:9A3B7F4F214211DAB6308A7391270C13"
stRef:documentID="uuid:9A3B7F4E214211DAB6308A7391270C13"/> stRef:documentID="uuid:9A3B7F4E214211DAB6308A7391270C13"/>
<tiff:BitsPerSample> <tiff:BitsPerSample>

Binary file not shown.
Loading…
Cancel
Save