Java Kernel Implementation CR: Implement equals on DvParagraph

2006-04-18 Thread bab...@yahoo.com
The current implementation of DvParagraph (rev. 27) does not implement "equals(Object): boolean" method. Because all DataValue's are implemented as immutable transfer object, the absence of the method causes problems with frameworks that manipulate beans (for instance Hibernate, JAXB etc). A sampl

CR for the XML Schema definition and Java implementation of DvDuration

2006-04-27 Thread bab...@yahoo.com
Although the latest spec defines that the DvDuration has attributes such as days, hours etc the class lacks the attribute years. On the other hand, the draft XML Schema definition of DvDuration (element DV_DURATION of BaseTypes.xsd), defines the value of DvDuration as "xsd:duration", which support

Θέμα: Re: CR for the XML Schema definition and Java implementation of DvDuration

2006-04-28 Thread bab...@yahoo.com
I totaly agree with you that the standalone versions of partial date/time classes are nearly useless. This becomes obvious when you try to map the XML schema element DV_DATE_TIME to a RM object. I have another java - xml suggestion. At runtime, due to the way generics are implemented in java ("e

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 HashMap(); should be replaced by codeMap = map.get(defs.getLanguage()); if (null == codeMap) { co

Θέμα: Re: Bug in Java Kernel class ArhcetypeOntology

2006-03-22 Thread bab...@yahoo.com
Rong, My name is Routis Haralampos. I did know whether this mailing list was the proper place for reporting issues of the java kernel implementation, but the bug reporting site seems to be abandoned. Thanks for the reply. --- Rong Chen ? : > babisr at yahoo.com wrote: > > The class Archet

Proposal for the adoprion of Maven2 in Java kernel reference implementation

2006-03-30 Thread bab...@yahoo.com
Since many developers are using Maven2 instead of Maven1, I would to propose the adoption of Maven2 as the build tool of the reference kernel implementation in java. I am attaching two basic Maven2 project descriptors for the kernel and the adl_parser, that can replace the relevant Maven1 project

Possible bug in java adl parser

2006-03-31 Thread bab...@yahoo.com
I believe that the latest adl_parser (SVN revision 21) does not load ontology definitions (term or constraints) in multiple languages. I think that the bug is in "adl.jj" file in lines 701 and 702 where : ( definitions = definitions_body())+ { list.add(definitions); } hould be replaced by: ( defi