#640 and # 751. Fixing linux build-breaker.
This commit is contained in:
@@ -317,9 +317,7 @@ try {
|
||||
}
|
||||
|
||||
// get the namespace dictionary from XMP
|
||||
typedef std::map<std::string,std::string> dict_t;
|
||||
typedef std::map<std::string,std::string>::const_iterator dict_i;
|
||||
dict_t nsDict;
|
||||
std::map<std::string,std::string> nsDict;
|
||||
Exiv2::XmpParser::getRegisteredNamespaces(nsDict);
|
||||
|
||||
// create and populate a Jzon::Object for the namespaces
|
||||
|
||||
+3
-2
@@ -15,7 +15,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* along with this f; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
/*
|
||||
@@ -446,7 +446,8 @@ namespace Exiv2 {
|
||||
|
||||
// pop trailing ':' on a namespace
|
||||
if ( bNS ) {
|
||||
if ( out[out.length()-1] == ':' ) out.pop_back();
|
||||
std::size_t length = out.length();
|
||||
if ( out[length-1] == ':' ) out = out.substr(0,length-1);
|
||||
}
|
||||
|
||||
if ( bURI || bNS ) {
|
||||
|
||||
@@ -36,6 +36,50 @@ Xmp.exif.NativeDigest XmpText 414 36864,40960,40961,37
|
||||
< <rdf:li xml:lang="en-US">Blue Square Test File - .jpg</rdf:li>
|
||||
36a36
|
||||
> <rdf:li xml:lang="en-US">Blue Square Test File - .jpg</rdf:li>
|
||||
67,87c67,87
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
<
|
||||
---
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
>
|
||||
-----> Decoding XMP data read from StaffPhotographer-Example.xmp <-----
|
||||
Xmp.iptc.IntellectualGenre XmpText 7 Profile
|
||||
Xmp.iptc.Location XmpText 17 Moore family farm
|
||||
|
||||
Reference in New Issue
Block a user