#539: Make registration of namespaces actually work (Vladimir Nadvornik, S M Ryan)

This commit is contained in:
Andreas Huggel
2008-01-24 14:32:18 +00:00
parent 1b1df1e649
commit 2e3672d211
10 changed files with 122 additions and 21 deletions
+4
View File
@@ -75,6 +75,10 @@ try {
// image, namespaces are decoded and registered at the same time.
Exiv2::XmpProperties::registerNs("myNamespace/", "ns");
// -------------------------------------------------------------------------
// Add a property in the new custom namespace.
xmpData["Xmp.ns.myProperty"] = "myValue";
// -------------------------------------------------------------------------
// There are no specialized values for structures, qualifiers and nested
// types. However, these can be added by using an XmpTextValue and a path as