Bug in Java Kernel class ArhcetypeOntology

2006-03-21 Thread bab...@yahoo.com
The class ArchetypeOntology, does not stores in the
internal Map - definitionsMap, the term defintion
items, but only constraint definition items.

 
The bug is in line 73 where the 

codeMap = new HashMapString, DefinitionItem();

should be replaced by

codeMap = map.get(defs.getLanguage());
if (null == codeMap) {
  codeMap = new HashMapString, DefinitionItem();
}








___ 
????????
??
 Yahoo!; 
???
?
 ?? 
?  (spam); ?? Yahoo! Mail 
??
? ??? ?
?? ? ??????  ??? 
?? 
???? http://login.yahoo.com/config/mail?.intl=gr 




Pathology numeric values not supported in DV_Quantity

2006-03-21 Thread Thomas Beale
Sam Heard wrote:
 It is a flag that says the value is very uncertain - accuracy is not 
 known - how do we say this - or a quality factor makes the reading 
 very uncertain. I just want to be able to see how we express when 
 accuracy is poor but not quantifiable.
 Sam

doesn't it mean that the value is completely useless, and that instead, 
a null-flavour flag should be set in the Element, and no data value be 
recorded at all?

- thomas




Pathology numeric values not supported in DV_Quantity

2006-03-21 Thread Gerard Freriks
Thomas,

In a data type like DV - in my mind- only flags can be raised that  
indicate the technicalities of that number. And that means round off  
error with which it is reported.

All other flags are at the archetype level.
Null-Flavors belong there. It is all at the semantic level, the  
knowlegde level.
And not the numeric interpretation level.

Gerard


-- CEN/tc251 Convenor --

Gerard Freriks, MD
convenor CEN/tc251 WG1

TNO ICT
Brassersplein 2
Delft

T:  +31 15 2857105
M: +31 6 54792800


On 21-mrt-2006, at 17:34, Thomas Beale wrote:

 Sam Heard wrote:
 It is a flag that says the value is very uncertain - accuracy is  
 not known - how do we say this - or a quality factor makes the  
 reading very uncertain. I just want to be able to see how we  
 express when accuracy is poor but not quantifiable.
 Sam

 doesn't it mean that the value is completely useless, and that  
 instead, a null-flavour flag should be set in the Element, and no  
 data value be recorded at all?

 - thomas





Bug in Java Kernel class ArhcetypeOntology

2006-03-21 Thread Rong Chen
babisr at yahoo.com wrote:
 The class ArchetypeOntology, does not stores in the
 internal Map - definitionsMap, the term defintion
 items, but only constraint definition items.

  
 The bug is in line 73 where the 

 codeMap = new HashMapString, DefinitionItem();

 should be replaced by

 codeMap = map.get(defs.getLanguage());
 if (null == codeMap) {
   codeMap = new HashMapString, DefinitionItem();
 }




   
Yes, you are right! The bug was originally reported by Jonas and Joakim 
from Link??pings University. Your fix seems to be more concise than the 
one submitted by Jonas and Joakim.

Now it has been fixed in the local copy and will soon be committed into 
subversion repository.

Thanks for reporting this bug! What's your name by the way? (so that I 
could count you as one of the contributors  :) 

Rong

   

   
   
 ___ 
  Yahoo!; 
     (spam);  
 Yahoo! Mail 
  ??   ?? 
  ?? ?? 
 ?? http://login.yahoo.com/config/mail?.intl=gr