Unable to register 'Iptc4xmpExt' XMP namespace
Submitted by Jim Easterbrook
I think my problem is caused by Exiv2 abbreviating Iptc4xmpExt to iptcExt.
I'm trying to add location metadata such as Xmp.iptcExt.LocationShown/Iptc4xmpExt:City. I get "Unknown namespace prefix for qualified name" errors unless the XMP file already has the Iptc4xmpExt namespace registered. If I try to register it with register_xmp_namespace('http://iptc.org/std/Iptc4xmpExt/2008-02-29/', 'Iptc4xmpExt') the call return false. I assume this is because Exiv2 already has the iptcExt namespace predefined and thinks they're equivalent.