wiki-archive/twiki/data/tmp/SDD/ResolvedTopicNonUniqueNessO...

130 lines
2.6 KiB
Plaintext

head 1.4;
access;
symbols;
locks;
comment @# @;
1.4
date 2007.03.06.17.30.00; author TWikiGuest; state Exp;
branches;
next 1.3;
1.3
date 2004.08.18.09.57.00; author GregorHagedorn; state Exp;
branches;
next 1.2;
1.2
date 2004.07.29.14.18.10; author GregorHagedorn; state Exp;
branches;
next 1.1;
1.1
date 2004.07.28.15.55.00; author JacobAsiedu; state Exp;
branches;
next ;
desc
@none
@
1.4
log
@Added topic name via script
@
text
@---+!! %TOPIC%
%META:TOPICINFO{author="GregorHagedorn" date="1092823020" format="1.0" version="1.3"}%
%META:TOPICPARENT{name="SchemaDiscussion"}%
I have noticed that SDD or should i say UBIF does not ensure that Classname's are unique even in the same Dataset.
A Class can be defined twice with the same Label,Rank,LSID etc etc with different keys of course.
I am in the process of writing some kind of a simplistic SDD editor and this is an issue i am struggling with right now.
Here is a snippet of an example borrowed from Gregor's SDD_tech.xml with a few additions.
<verbatim>
<ClassName key="1">
<Label>
<Representation language="en">
<Text>Cypselurus heterurus (Rafinesque, 1810)</Text>
</Representation>
</Label>
<Link>
<LSID>lsid.gbif.net:www.fishbase.org:1029</LSID>
<URL>http://www.fishbase.org/Summary/SpeciesSummary.cfm?ID=1029</URL>
</Link>
<RankLevel>species</RankLevel>
</ClassName>
<ClassName key="5">
<Label>
<Representation language="en">
<Text>Cypselurus heterurus (Rafinesque, 1810)</Text>
</Representation>
</Label>
<Link>
<LSID>lsid.gbif.net:www.fishbase.org:1029</LSID>
<URL>http://www.fishbase.org/Summary/SpeciesSummary.cfm?ID=1029</URL>
</Link>
<RankLevel>species</RankLevel>
</ClassName>
</verbatim>
-- Main.JacobAsiedu - 28 Jul 2004
Thanks for pointing this out. What do you propose? I would think, requiring the label to be unique for each language should be sufficient. Of course, really the different linking IDs should be unique as well, but that is a bit still under development and discussion.
-- Gregor - 29 Jul 2004
---
I have added language specific uniqueness constraints and close the topic. Many thanks!
-- Gregor Hagedorn - 18 August 2004
%META:TOPICMOVED{by="GregorHagedorn" date="1092822970" from="SDD.NonUniqueNessOfClassName" to="SDD.ResolvedTopicNonUniqueNessOfClassName"}%
@
1.3
log
@none
@
text
@d1 2
@
1.2
log
@none
@
text
@d1 1
a1 1
%META:TOPICINFO{author="GregorHagedorn" date="1091110690" format="1.0" version="1.2"}%
d42 1
a42 1
Gregor - 29 Jul 2004
d44 6
a49 2
---
@
1.1
log
@none
@
text
@d1 1
a1 1
%META:TOPICINFO{author="JacobAsiedu" date="1091030100" format="1.0" version="1.1"}%
d39 7
@