Re: URN UUID question

Joel Kalvesmaki <kalvesmaki@gmail.com> Tue, 11 March 2014 19:31 UTC

Return-Path: <kalvesmaki@gmail.com>
X-Original-To: urn-nid@ietfa.amsl.com
Delivered-To: urn-nid@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5F581A07CB for <urn-nid@ietfa.amsl.com>; Tue, 11 Mar 2014 12:31:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PTaSwgW60dZJ for <urn-nid@ietfa.amsl.com>; Tue, 11 Mar 2014 12:31:18 -0700 (PDT)
Received: from mail-vc0-x234.google.com (mail-vc0-x234.google.com [IPv6:2607:f8b0:400c:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id EB0AD1A07BA for <urn-nid@ietf.org>; Tue, 11 Mar 2014 12:31:17 -0700 (PDT)
Received: by mail-vc0-f180.google.com with SMTP id lf12so3242117vcb.25 for <urn-nid@ietf.org>; Tue, 11 Mar 2014 12:31:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+q2iIScF8N4mbf1ls/1N7qD0I6odxQVO7d7xO/qbXNI=; b=H9ZmjEbnnI8DPOyRNRIZnn9BzvFm8d0WSZEQaXbouIGAUb3jIa+CM0oiIVP1Hts+CE OlF0jBqOcaRxka0Hs6an+1QMkfcBcFAAptB1N5gMymqzQE3IAHtPRZOOKqJeGTZcBRcs f0teo7jyzHTtG+roEZ2rrVP8KCMBPseZ2644AfbTTDLaAUNF/D7umVqsr6mRPazJetD2 HXlWp66/gHAr/YGe55KhA3nHGXBQVdaHun2istmjr16K2rzup+Ef3w2dtfCfhty2fZVi YzHXZLU7oBEJEkkdniBhOe++8W4RZEgxgySl5CWV0eLitR/yfaXIDHW8mwJRYtZlFI5T HPLA==
MIME-Version: 1.0
X-Received: by 10.52.69.146 with SMTP id e18mr27740050vdu.15.1394566271822; Tue, 11 Mar 2014 12:31:11 -0700 (PDT)
Received: by 10.220.226.71 with HTTP; Tue, 11 Mar 2014 12:31:11 -0700 (PDT)
In-Reply-To: <531F46B1.1030301@stpeter.im>
References: <CALPpAZ_fLwK80dcM5ty5pp2pLiafpW36uvK2WoJdKpuaWX6PQw@mail.gmail.com> <531F46B1.1030301@stpeter.im>
Date: Tue, 11 Mar 2014 15:31:11 -0400
Message-ID: <CALPpAZ9TStXyhv-rqtfMXT=bB8q0ds=E5xqiZ=Ae=KvupjET_Q@mail.gmail.com>
Subject: Re: URN UUID question
From: Joel Kalvesmaki <kalvesmaki@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: multipart/alternative; boundary=20cf3071cd0e3f77b704f459c3ee
Archived-At: http://mailarchive.ietf.org/arch/msg/urn-nid/YqyjSaAvx4vePUdeKniDOGtkZwo
Cc: urn-nid@ietf.org
X-BeenThere: urn-nid@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: discussion of new namespace identifiers for URNs <urn-nid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/urn-nid>, <mailto:urn-nid-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/urn-nid/>
List-Post: <mailto:urn-nid@ietf.org>
List-Help: <mailto:urn-nid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/urn-nid>, <mailto:urn-nid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Mar 2014 19:31:21 -0000

Thanks for the suggestion. I had considered that option, but the string
must conform to XML schema's <anyURI>,[1] to suit the purposes I mentioned
(RDF, etc.). And no <anyURI> may begin with a numeral. It would also be
important to have a scheme that any human or computer would recognize
immediately as a URN.

I had also considered the following (where NN = a suitable project-specific
abbreviation or dt = date-time, as a project-agnostic urn scheme):

urn:uuid-NN:f60330fd-1900-44ac-a825-de70074e142e::2014-02-07Z
urn:uuid-dt:f60330fd-1900-44ac-a825-de70074e142e::2014-02-07Z

But would either one require registration with IANA? If so, what what's the
process and is it worthwhile? I have heard of at least one project that has
simply coined its own urn:NNN: scheme on its own, but I do not fully
understand what consequences face anyone setting out on that direction.

One other possibility occurs to me, that of treating the time-date stamp as
a fragment identifier:
urn:uuid:f60330fd-1900-44ac-a825-de70074e142e#2014-02-07Z

But I suspect that would violate the RFC 4122 definition, no?

Best wishes,

jk

[1] http://www.w3.org/TR/xmlschema-2/#anyURI


On Tue, Mar 11, 2014 at 1:24 PM, Peter Saint-Andre <stpeter@stpeter.im>wrote;wrote:

> On 3/4/14, 8:32 AM, Joel Kalvesmaki wrote:
>
>> I am developing an XML data model that requires users to name versions
>> of a document. Each version's name should be unique, but patterned to
>> allow anyone (human or computer) to associate it with the names of other
>> versions of that document and to place it in chronological sequence. The
>> name of each version must be a single string, specifically a IRI/URI (to
>> facilitate, among other things, straightforward declarations in RDF). It
>> should not be split into two elements. Naming must be as decentralized
>> as possible.
>>
>> My favored scheme for naming these entities would concatenate a UUID
>> (any style), a middle delimiter, and an ISO date/dateTime, e.g.,
>>
>> urn:uuid:f60330fd-1900-44ac-a825-de70074e142e::2014-02-07Z
>> urn:uuid:f60330fd-1900-44ac-a825-de70074e142e::2014-02-28T00:20:58.3Z
>>
>> Would it be misleading to begin such a string with "urn:uuid:" and if
>> so, what are the alternative best practices?
>>
>> Perhaps there already exists a urn scheme that does what I intend?
>>
>> Are there any other issues I should consider before adopting a naming
>> scheme like this?
>>
>
> As far as I can see, you don't really need or necessarily want the
> "urn:uuid:" string at the front. Why not things like this?
>
> f60330fd-1900-44ac-a825-de70074e142e::2014-02-07Z
> f60330fd-1900-44ac-a825-de70074e142e::2014-02-28T00:20:58.3Z
>
> Peter
>
>
>


-- 
Joel Kalvesmaki
kalvesmaki.com