Issue 6914: The query 'hostElement' has some errors (uml2-superstructure-ftf) Source: (, ) Nature: Clarification Severity: Minor Summary: See the comment lines starting with -- !! in the following listing: -- !! on the next line, ModelElement should probably be changed -- !! to Element. hostElement() : ModelElement; hostElement = if self.Method->size() > 0 then self.Method else if self.State->size() > 0 then self.State else if self.Transition->size() > 0 then self.Transition else if self.Message->size()>0 then self.Message -- !! size should be size() on the next line else if self.Stimulus->size>0 then self.Stimulus endif endif endif -- !! should be endif on the next line endi -- !! missing endif on this line -- !! remove the closing bracket on the next line ] Resolution: see above Revised Text: Actions taken: January 19, 2004: received issue March 8, 2005: closed issue Discussion: NB: Bran reformatted the issue text to clarify the location of the problem See resolution to 7319. It removes this operation. End of Annotations:===== m: webmaster@omg.org Date: 19 Jan 2004 04:22:42 -0500 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Karl Guggisberg Company: na mailFrom: karl.guggisberg@guggis.ch Notification: No Specification: Unified Modeling Language: Superstructure Section: 12.3.1 FormalNumber: ptc/03-08-02 Version: 2.0 RevisionDate: na Page: 285 Nature: Clarification Severity: Minor HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Description The query 'hostElement' has some errors. See the comment lines starting with -- !! in the following listing: -- !! on the next line, ModelElement should probably be changed -- !! to Element. hostElement() : ModelElement; hostElement = if self.Method->size() > 0 then self.Method else if self.State->size() > 0 then self.State else if self.Transition->size() > 0 then self.Transition else if self.Message->size()>0 then self.Message -- !! size should be size() on the next line else if self.Stimulus->size>0 then self.Stimulus endif endif endif -- !! should be endif on the next line endi -- !! missing endif on this line -- !! remove the closing bracket on the next line ]