[DDI-SRG] Namespaces and standard prefixes
I-Lin Kuo
ikuoikuo at gmail.com
Tue Feb 19 15:58:36 EST 2008
My take on this is that the set of prefixes should only affect the
documentation and the example instances which are released as part of the
documentation. Prefixes should not have any effect on the schema
specification itself how the instances are processed via machine, re
http://www.w3.org/TR/xml-infoset/#infoitem.element, "[prefix] The namespace
prefix part of the element-type name. If the name is unprefixed, this
property has no value. Note that namespace-aware applications should use the
namespace name rather than the prefix to identify elements."
So I'd say that Pascal and Joachim should fee free to change the prefixes in
their instances to more readable abbreviations if they want, unless those
instances are to be released as part of the documentation, in which case
consistency is somewhat important.
On Feb 18, 2008 10:59 AM, Wendy Thomas <wlt at pop.umn.edu> wrote:
> You do realize you have both datacollection and dublincore as dc:
>
> I will put this on the agenda but please be aware that we have a number of
> bugs we have to address and resolve. I guess what I'm asking is how big an
> issue is this? What Arofan presented is pretty much what has been in the
> documentation and high level documentation all along.
>
> Wendy
>
>
>
> On Mon, 18 Feb 2008, Joachim Wackerow wrote:
>
> > 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
> >
> >
> > _______________________________________________
> > 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
>
--
I-Lin Kuo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.icpsr.umich.edu/pipermail/ddi-srg/attachments/20080219/bdd2c31d/attachment.html
More information about the DDI-SRG
mailing list