[cc-devel] Exempi, namespaces
Jason Kivlighn
jkivlighn at gmail.com
Wed Jun 6 20:55:46 EDT 2007
Hi Hubert,
I've been hacking at Tracker, using exempi-1.99.0. It's definitely very
handy :-)
There's one issue I've come across. I'd like to add CC license info in
the http://web.resource.org/cc/ namespace, but can't since it isn't a
registered namespace. In other words, RegisterNamespace isn't wrapped.
It looks like it requires the following in exempi.cpp:
bool xmp_register_namespace(const char *namespaceURI, const char
*suggestedPrefix,
XmpStringPtr
registeredPrefix )
{
return SXMPMeta::RegisterNamespace ( namespaceURI, suggestedPrefix,
STRING(registeredPrefix) );
}
A try/catch block in xmp_set_property would also be nice... it took
adding one to finally figure out why xmp_set_property wouldn't let me
add the CC license info.
Cheers,
Jason
More information about the cc-devel
mailing list