Issue 14586: OCL 2.1 12.2.5 named-self classifierContextDeclCS (ocl2-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Uncategorized Issue Severity: Summary: The second half of 7.3.3 uses a named-self syntax that is missing from 12.2.5. context c : Company inv: c.numberOfEmployees > 50 Resolution: In 12.12.2 classifierContextDeclCS replace This production rule represents a context declaration for expressions that can be coupled to classifiers. classifierContextDeclCS ::= ‘context’ pathNameCS invOrDefCS by This production rule represents a context declaration for expressions that can be coupled to classifiers. The variable declaration to the classifier context is 'self' for the A form and explicitly specified for the B form. [A] classifierContextDeclCS ::= ‘context’ pathNameCS invOrDefCS [B] classifierContextDeclCS ::= ‘context’ simpleNameCS ':' pathNameCS invOrDefCS Revised Text: Actions taken: October 28, 2009: received issue April 25, 2011: closed issue Discussion: End of Annotations:===== ronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAO+G50rUnw4S/2dsb2JhbADZVYQ/BA Date: Wed, 28 Oct 2009 06:51:49 +0000 From: Ed Willink User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) To: issues@omg.org Subject: OCL 2.1 12.2.5 named-self classifierContextDeclCS X-Plusnet-Relay: 145bc4a14591443dc72ebb5452a9105a Hi The second half of 7.3.3 uses a named-self syntax that is missing from 12.2.5. context c : Company inv: c.numberOfEmployees > 50 Regards X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAFtH6ErUnw4S/2dsb2JhbADbDoQ/BA Date: Wed, 28 Oct 2009 20:32:07 +0000 From: Ed Willink User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) To: "'ocl2-rtf@omg.org'" Subject: Re: Issue 14586 named-self classifierContextDeclCS X-Plusnet-Relay: 34c0f536ef830d8b81a7f891927ebb92 Hi Mariano Attached resolves a simple grammar oversight, allowing the name of a contextClassifier to be defined. Regards Ed Willink Ed Willink