[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|