- From: Eric Prud'hommeaux <eric@w3.org>
- Date: Fri, 2 Apr 2004 22:35:14 -0500
- To: Reto Bachmann-Gmuer <reto@gmuer.ch>
- Cc: Mark Smith <mcs@pearlcrescent.com>, public-annotea-dev@w3.org
Anyone have any criteria for evaluating which of uuid-urn [1] eg urn:uuid:f81d4fae-7dec-11d0-a765-00a0c91e6bf6 or urn-5 [2] eg urn:urn-n:JtTCacwJ1e1N0yqTULRG7C1GLq8 or urn:urn-n:JtTCacwJ1e1N0yqTULRG7C1GLq8:4 will be better? We were planning on using the urn with a fragment identifier to differentiate the different parts of an bookmark or maybe even mulitple bookmarks in the same file. I'm tempted to use which ever has more protocols using it that we would like to share code with. [1] http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt [2] http://www.iana.org/assignments/urn-informal/urn-5 On Fri, Apr 02, 2004 at 12:20:53AM +0200, Reto Bachmann-Gmuer wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Mark Smith wrote: > > | > | 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. > | > maybe urn-5 would be worth considering too, it has a random part and a > local part wich could be used to identify an individual bookmark (and > maybe translated to a fragment identifier when moving to a conventional > localizable file). > > http://www.iana.org/assignments/urn-informal/urn-5 > > cheers, > reto > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFAbJWwD1pReGFYfq4RAneqAKCn1GzdhhXPyRSUICAz68HqzJc0ogCghYRE > LKpMT+Dp07CczjF8FOxiZL0= > =Nji7 > -----END PGP SIGNATURE----- -- -eric office: +81.466.49.1170 W3C, Keio Research Institute at SFC, Shonan Fujisawa Campus, Keio University, 5322 Endo, Fujisawa, Kanagawa 252-8520 JAPAN +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA cell: +1.857.222.5741 (does not work in Asia) (eric@w3.org) Feel free to forward this message to any list for any purpose other than email address distribution.
Received on Friday, 2 April 2004 22:36:15 UTC