diff --git a/include/exiv2/basicio.hpp b/include/exiv2/basicio.hpp index a1187707..551f778f 100644 --- a/include/exiv2/basicio.hpp +++ b/include/exiv2/basicio.hpp @@ -273,7 +273,7 @@ namespace Exiv2 { //! @name Creators //@{ //! Default Constructor - BasicIo() {} + BasicIo(); //@} }; // class BasicIo diff --git a/src/basicio.cpp b/src/basicio.cpp index 958a8228..3dd7d16c 100644 --- a/src/basicio.cpp +++ b/src/basicio.cpp @@ -36,6 +36,7 @@ EXIV2_RCSID("@(#) $Id$") #include "types.hpp" #include "error.hpp" #include "http.hpp" +#include "properties.hpp" // + standard includes #include @@ -82,6 +83,11 @@ typedef short nlink_t; // class member definitions namespace Exiv2 { + BasicIo::BasicIo() { + Exiv2::Dictionary nsDict; + Exiv2::XmpProperties::registeredNamespaces(nsDict); + } + BasicIo::~BasicIo() { } diff --git a/src/properties.cpp b/src/properties.cpp index 6a361eef..40b66634 100644 --- a/src/properties.cpp +++ b/src/properties.cpp @@ -138,8 +138,8 @@ namespace Exiv2 { { "http://ns.microsoft.com/photo/1.2/t/Region#", "MPReg", xmpMicrosoftPhotoRegionInfo, N_("Microsoft Photo Region schema") }, { "http://www.metadataworkinggroup.com/schemas/regions/", "mwg-rs", xmpMWGRegionsInfo, N_("Metadata Working Group Regions schema") }, { "http://www.metadataworkinggroup.com/schemas/keywords/","mwg-kw", xmpMWGKeywordInfo, N_("Metadata Working Group Keywords schema") }, - { "http://www.video", "video", xmpVideoInfo, N_("XMP Extended Video schema") }, - { "http://www.audio", "audio", xmpAudioInfo, N_("XMP Extended Audio schema") }, + { "http://www.video/", "video", xmpVideoInfo, N_("XMP Extended Video schema") }, + { "http://www.audio/", "audio", xmpAudioInfo, N_("XMP Extended Audio schema") }, { "http://rs.tdwg.org/dwc/index.htm", "dwc", xmpDwCInfo, N_("XMP Darwin Core schema") }, { "http://purl.org/dc/terms/", "dcterms", xmpDctermsInfo, N_("Qualified Dublin Core schema") }, // Note: used as properties under dwc:record { "http://ns.acdsee.com/iptc/1.0/", "acdsee", xmpAcdseeInfo, N_("ACDSee XMP schema") },