Graphical design component

r2 - 10 Jun 2004 - 06:55:00 - GregorHagedornYou are here: TWiki >  SDD Web > SchemaChangeLog09beta24to27 > ClosedTopicFreeFormNotesInDescriptions

ClosedTopicFreeFormNotesInDescriptions

Regarding the element name change of ReportedNotes to Note (compare SchemaChangeLog09beta24to27):

Please take a look at the following excerpt from the example file:

<Character keyref="1">
  <State keyref="1">
    <FrequencyValue Value="0.8"/>
  </State>
  <State keyref="2"><Note><Representation audience="en"><Text>especially in later summer</Text></Representation></Note></State>
  <CodingStatus keyref="1"/>
</Character>
<Character keyref="2">
  <StatisticalMeasure keyref="91" Value="100.4"/>
  <StatisticalMeasure keyref="92" Value="120">
    <Note><Representation audience="en"><Text>This specific measure may be based on erroneous operation of the instrument</Text></Representation></Note>
    <Probability keyref="40"></Probability>
  </StatisticalMeasure>
</Character>

a) I do not like the sequence of modifiers and Note. The note comes first, which is unintuitive. The reason is simply that we use type derivation by extension in the xml schema and you can only append only at the end.

b) Is the element appropriately named Note, or would another name be more appropriate?

-- Gregor Hagedorn - 26 Nov 2003


Problem a) is not resolvable, unless we stop using the object-oriented design pattern with base types and inheritance.

Problem b) is currently resolved to use Notes.

-- Gregor Hagedorn - 10 June 2004


Edit | Attach | Printable | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
SDD.ClosedTopicFreeFormNotesInDescriptions moved from SDD.StructureAndNameOfFreeFormNotesInDescriptions on 10 Jun 2004 - 06:53 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