Skip to Navigation | Skip to Content

Ref_impl_Java mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Bug in adl-parser

  • To: "List for the development team for the reference implementation of openEHR in Java language and technologies." <ref_impl_java@openehr.org>
  • Subject: Bug in adl-parser
  • From: Soheil Hassas Yeganeh <soheil.h.y@gmail.com>
  • Date: Fri, 28 Aug 2009 12:20:30 +0430

Hi There, 

There is a bug in adl-parser project about the existence of archetypes nodes. If a node exists with cardinality {0..*}, it is implicit that the node is OPTIONAL, but the parser consider it as REQUIRED. For example relationships is not necessary as defined in the following line but the ADLParser mark it as required. 

relationships cardinality matches {0..*; ordered} matches {

The problem can be solved simply. Please find the patch attached.

Bests,
Soheil 

Attachment: adl.jj.patch
Description: Binary data