W3C home > Mailing lists > Public > public-annotea-dev@w3.org > January to March 2004

Re: another idea for the URN approach to local UIDs in bookmarks

From: Mark Smith <mcs@pearlcrescent.com>
Date: Wed, 31 Mar 2004 11:21:28 -0500
Message-ID: <406AF008.30103@pearlcrescent.com>
To: public-annotea-dev@w3.org

Jose Kahan wrote:
 >
> What is easier to have, a fail-safe mechanism to produce URNs or
> some well specified processing? If it's the former, then let's go
> forward with URNs (and send a follow-up message on how to do it :).
> Maybe you'd like to adopt the same mechanism used to generate msgids
> by some mail client?
> 
> I'm basically proposing that the applications do the same job
> that the server does when you publish something and it attributes
> a new URL.

I do not have an opinion about which approach is better for the bookmark 
local/global ID problem.  But generating globally unique UUIDs is 
something that quite a few applications and protocols do, and the most 
widely used algorithm is described here:

   http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt

Sample C code is included in that Internet Draft.  The UUID-based URIs 
won't be pretty (e.g., urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6) 
but they should be globally unique.

-- 
Mark Smith
LDAP Book Information: http://www.ldapbook.com/
What's Next:           http://www.pearlcrescent.com/
Received on Wednesday, 31 March 2004 11:29:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:36:55 GMT