Issue 16044: OCL 2.3 Pathname syntax does not allow access to hidden names (ocl2-rtf) Source: Nomos Software (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Uncategorized Issue Severity: Summary: If meta-models provide both 'B::x' and 'A::B::x', it is not possible to access 'B::x' from a context with 'A::B' since 9.4.1[4] searches from the current scope and so resolve 'B' in 'B::x' to 'A::B'. Suggest adoption of the C++ '::' global prefix so that '::B::x' can be used when 'A::B' occludes. Resolution: Revised Text: Actions taken: February 27, 2011: received issue Discussion: End of Annotations:===== ronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqEGANLSaU1UXeb6/2dsb2JhbACYNI4SdLlxhWEE Date: Sun, 27 Feb 2011 12:31:04 +0000 From: Ed Willink User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 To: issues@omg.org Subject: OCL 2.3 Pathname syntax does not allow access to hidden names. Hi If meta-models provide both 'B::x' and 'A::B::x', it is not possible to access 'B::x' from a context with 'A::B' since 9.4.1[4] searches from the current scope and so resolve 'B' in 'B::x' to 'A::B'. Suggest adoption of the C++ '::' global prefix so that '::B::x' can be used when 'A::B' occludes. Regards Ed Willink