[DDI-SRG] Namespaces and standard prefixes

Joachim Wackerow joachim.wackerow at gesis.org
Mon Feb 18 11:49:13 EST 2008


As Pascal I would like to discuss this at Thursday.

In general the one-letter codes seem to be only meaningful when no other 
module exists with the same starting letter. Numbers are never 
meaningful for functions, so here another solution should be found.

An approach with two- or three-letter codes would offer a mnemonic 
system which is expandable in future by new modules. The default 
prefixes are just a recommendation, but anyway they should be 
constructed in a consistent and expandable way.

A suggestion along this approach would be:

ddi:archive:3_0_CR3, archive.xsd, "ar:"
ddi:comparative:3_0_CR3, comparative.xsd, "cm:"
ddi:conceptualcomponent:3_0_CR3, conceptualcomponent.xsd, "co:"
ddi:datacollection:3_0_CR3, datacollection.xsd, "dc:"
ddi:dataset:3_0_CR3, dataset.xsd, "ds:"
ddi:dcelements:3_0_CR3, dcelements.xsd, "dc:"
ddi:profile:3_0_CR3, ddiprofile.xsd, "pr:"
ddi:group:3_0_CR3, group.xsd, "gr:"
ddi:physicaldataproduct/ncube/inline:3_0_CR3, 
inline_ncube_recordlayout.xsd, "nci:"
ddi:instance:3_0_CR3, instance.xsd, "in:"
ddi:logicalproduct:3_0_CR3, logicalproduct.xsd, "lo:"
ddi:physicaldataproduct/ncube/normal:3_0_CR3, ncube_recordlayout.xsd, "nc:"
ddi:physicaldataproduct:3_0_CR3, physicaldataproduct.xsd, "pd:"
ddi:physicalinstance:3_0_CR3, physicalinstance.xsd, "pi:"
ddi:physicaldataproduct/proprietary:3_0_Beta, 
proprietary_recordlayout.xsd, "pry:"
ddi:reusable:3_0_CR3, reusable.xsd, "re:"
ddi:studyunit:3_0_CR3, studyunit.xsd, "su:"
ddi:physicaldataproduct/ncube/tabular:3_0_CR3, 
tabular_ncube_recordlayout.xsd, "nct:"

Achim

Wendy Thomas wrote:
> Pascal,
> 
> The practice up to this point has been single letters r: l: s: etc. as 
> used in the samples and import stateements to date. The use of a letter 
> number combination for the BaseRecordLayout substitution groups seems to 
> be the most logical in that this is an area where we would expect future 
> growth. Trying to provide them all with unique prefixes that relate to 
> their names is really not practical. It looks like the other major change 
> was to use dc for dublincore (which is their standard prefix).
> 
> Wendy
> 
> 
> On Mon, 18 Feb 2008, Pascal Heus wrote:
> 
>> Arofan:
>> for the prefixes, is this your list or an official DDI3 one? I've been of 
>> course using a slightly different version. I typically at least use 2 or 3 
>> letters (1 is not very explicit) and I'm not particularly for the m1,2,3,4 as 
>> it doesn't provide any meaning. Is this something we should discuss Thursday?
>> *P
>>
>>
>> A. G. wrote:
>>> Folks:
>>>  Here are module namespaces, filenames, and standard prefixes as used in 
>>> CR3: http://www.w3.org/XML/1998/namespace, xml.xsd, "xml:" (always inherent 
>>> in XML!)
>>> ddi:archive:3_0_CR3, archive.xsd, "a:"
>>> ddi:comparative:3_0_CR3, comparative.xsd, "cm:"
>>> ddi:conceptualcomponent:3_0_CR3, conceptualcomponent.xsd, "c:"
>>> ddi:datacollection:3_0_CR3, datacollection.xsd, "d:"
>>> ddi:dataset:3_0_CR3, dataset.xsd, "ds:"
>>> ddi:dcelements:3_0_CR3, dcelements.xsd, "dc:"
>>> ddi:profile:3_0_CR3, ddiprofile.xsd, "pr:"
>>> ddi:group:3_0_CR3, group.xsd, "g:"
>>> ddi:physicaldataproduct/ncube/inline:3_0_CR3, 
>>> inline_ncube_recordlayout.xsd, "m3:"
>>> ddi:instance:3_0_CR3, instance.xsd, "i:"
>>> ddi:logicalproduct:3_0_CR3, logicalproduct.xsd, "l:"
>>> ddi:physicaldataproduct/ncube/normal:3_0_CR3, ncube_recordlayout.xsd, "m1:"
>>> ddi:physicaldataproduct:3_0_CR3, physicaldataproduct.xsd, "p:"
>>> ddi:physicalinstance:3_0_CR3, physicalinstance.xsd, "pi:"
>>> ddi:physicaldataproduct/proprietary:3_0_Beta, proprietary_recordlayout.xsd, 
>>> "m4:"
>>> ddi:reusable:3_0_CR3, reusable.xsd, "r:"
>>> ddi:studyunit:3_0_CR3, studyunit.xsd, "s:"
>>> ddi:physicaldataproduct/ncube/tabular:3_0_CR3, 
>>> tabular_ncube_recordlayout.xsd, "m2:"
>>>  Cheers,
>>>  Arofan
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> DDI-SRG mailing list
>>> DDI-SRG at icpsr.umich.edu
>>> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>>>
>>
> 
> Wendy L. Thomas                          Phone: +1 612.624.4389
> Data Access Core Director		 Fax:   +1 612.626.8375
> Minnesota Population Center              Email: wlt at pop.umn.edu
> University of Minnesota
> 50 Willey Hall
> 225 19th Avenue South
> Minneapolis, MN 55455
> _______________________________________________
> DDI-SRG mailing list
> DDI-SRG at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg




More information about the DDI-SRG mailing list