Skip to Content.
Sympa Menu

cc-devel - [cc-devel] Exempi, namespaces

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: Jason Kivlighn <jkivlighn AT gmail.com>
  • To: Hubert Figuiere <hub AT figuiere.net>, CC Developer Mailing List <cc-devel AT lists.ibiblio.org>
  • Subject: [cc-devel] Exempi, namespaces
  • Date: Wed, 06 Jun 2007 17:55:46 -0700

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





Archive powered by MHonArc 2.6.24.

Top of Page