Graphical design component

r3 - 18 Aug 2004 - 09:57:00 - GregorHagedornYou are here: TWiki >  SDD Web > SchemaDiscussion > ResolvedTopicNonUniqueNessOfClassName

ResolvedTopicNonUniqueNessOfClassName

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.

<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>

-- 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

Edit | Attach | Printable | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
SDD.ResolvedTopicNonUniqueNessOfClassName moved from SDD.NonUniqueNessOfClassName on 18 Aug 2004 - 09:56 by GregorHagedorn - put it back
 
Back to TDWG Homepage TDWG Wiki > SDD
This site is powered by the TWiki collaboration platform

Valid XHTML 1.0 Transitional
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback