Issue 16305: Comparison operators don't exist for Boolean (ocl2-rtf) Source: (, ) Nature: Revision Severity: Significant Summary: In the table A.1 (Schema for operations on basic types), the operations {<, >, <, >} are defined as applicable to {UnlimitedNatural, Integer, Real, String, Boolean}. While the result is certainly Boolean, the parameters can't be Boolean in general, unless UML defined such operators for Booleans. According to section 11.5.4, there is no definition for the operators. Then Boolean should be removed in the set. Resolution: Revised Text: In table A.1 remove Boolean from ? ? {<, >, <, >} t1, t2 ? {UnlimitedNatural, Integer, Real, String, Boolean} Actions taken: June 1, 2011: received issue December 23, 2013: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 01 Jun 2011 16:49:26 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Dominic Roy Employer: CumuloCogitus Inc. mailFrom: roy.dominic@sympatico.ca Terms_Agreement: I agree Specification: Object Constraint Language (OCL) Section: A.2.1.2 FormalNumber: ptc/2010-11-42 Version: 2.3 Doc_Year: 2010 Doc_Month: December Doc_Day: Day Page: 212 Title: Comparison operators don't exist for Boolean Nature: Revision Severity: Significant CODE: 3TMw8 B1: Report Issue Description: In the table A.1 (Schema for operations on basic types), the operations {<, >, <, >} are defined as applicable to {UnlimitedNatural, Integer, Real, String, Boolean}. While the result is certainly Boolean, the parameters can't be Boolean in general, unless UML defined such operators for Booleans. According to section 11.5.4, there is no definition for the operators. Then Boolean should be removed in the set.