OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [ubl-dev] UUID


I'm sorry I missed this question earlier, but 
when I filed my message from today a moment ago 
the subject line of your message jumped out at me.

At 2006-08-22 14:29 +0300, Juha Ikävalko wrote:
>I got a question what is the purpose of UUID in 
>UBL documents? Definition says "A 
>computer-generated universally unique identifier 
>(UUID) for the Order instance".

That definition is all we have to work with ... I 
noticed it when I was answering Gil's question.

>My conclusion: ID identifies the order on the 
>business level and UUID identifies an order 
>message instance on the technical level.

I agree.

>Thus, if a seller is not able to receive the 
>order message at the first attempt, a buyer 
>sends a new order message with same ID

I agree.

>but different UUID.

That I'm not sure of.  What the definition 
doesn't clarify is the scope of 
"universally".  Is that a cross-document context 
or a cross-system context or a global 
context?  The answer to that provides guidance to 
the nature of the identifier one uses.

Lexically, UBL 2.0 defines this as a normalized string.

My gut feel is that it is a cross-document 
context, and I see a use for ID/IDREF concepts 
for extensions.  Without guidance from other 
UBL'ers, I would have no qualms using a simple name token for this.

If the answer is a cross-system context, then I 
would probably combine the document number with 
line number, assuming that if the document changes it gets a new number.

If the answer is a global context, then I would 
probably use a URN and manage my use of the URN 
value space somewhere in my system ... the URN 
ensures the global uniqueness if you use a 
registered domain, and I happen to have an ISBN 
publisher's prefix I can use for this.  A URI 
based on URL syntax would work as well and one can use their domain.

Does anyone have insight on the scope of "universally" in the UBL definition?

. . . . . . . . . . . . . . . Ken

--
UBL/XML/XSLT/XSL-FO training: Vårø, Denmark 2006-10-02/06,11-20/24
UBL International 2006  2006-11-13/17 http://www.ublconference.com
World-wide corporate, govt. & user group UBL, XSL, & XML training.
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/u/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/u/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]