[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Should information be encoded into identifiers?

  • From: "Christopher R. Maden" <crism@maden.org>
  • To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
  • Date: Sat, 06 Mar 2010 18:18:33 -0500

Re:  Should information be encoded into identifiers?
Michael Sokolov wrote:
> Basically I'm in favor of meaningless ids, because people will tend to find
> meaning in them even when told not too by folks like Michael.  But in our
> case, having the regional prefix, although it is in some sense meaningful,
> allows the ids to be maintained independently in two different systems. It
> also allowed us to have a mechanical renaming system so we didn't have to
> have an explicit mapping between two completely random sets of identifiers.

Two issues seem to have been conflated in Roger’s original post, and I
haven’t seen them explicitly separated in subsequent conversation.

One is the presence of meaning within the IDs, and the other is the use
of some characteristic for use as a namespace when allocating IDs.

For example, within an ISBN, the first numbers can be interpreted as
giving the publisher’s country, and with a US Social Security Number,
the first three numbers correspond to the region in which the number was
assigned.  But although one can, with some accuracy, infer meaning from
those numbers, the real reason for the scheme is to allocate namespaces
within which agencies can issue numbers without collision.

Mike’s post makes the relative virtues clear, at least to me: attempting
to have meaning in the IDs ended up failing, but having
collision-preventing namespace prefixes in the IDs eased generation.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
“The honest man, though e’er sae poor, Is king o’ men for a’ that.”
 — Robert Burns, “Is There for Honest Poverty”
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.