[DDI-SRG] ID uniqueness and URN
Pascal Heus
pascal.heus at gmail.com
Tue Jan 6 15:04:56 EST 2009
All:
I have an issue with DDI documentation recommendations on ID uniqueness
and URN generation:
(1) For identifiers, we require an ID to be unique within it's maintainable
(2) For URN, we recommend to include the complete object hierarchy, from
the maintainable to the object itself
The (2) requirement seem to be an overkill given that, since the ID is
uniqyue within the maintainable, we do not actually need to include the
full hierarchy to generate a unique URN. Unless there is a particular
benefit in including the hierarchy in the URN (which I don't see), this
has the drawback to create unnecessary long URN strings. The
Manitainable ID + Object ID is sufficient, intermediate object do not
need to be identified. I'm not sure if we have many identifiable
elements that are at the 3rd, 4th or deeper level in the schema but I
would suggest to relax the requirement to include the full hierarchy in
the URN.
Another way to approach this would be to only require the ID to be
unique within it's parent identifiable. This would make it easier to
generate IDs. I would however rather prefer shorter URNs.
Let me know if I should file a bug about this for further discussion
.
thanks
*P
More information about the DDI-SRG
mailing list