[omniORB] Case insensitivity in IDL scopes

Duncan Grisby dgrisby@uk.research.att.com
Fri, 24 Aug 2001 15:52:39 +0100


On Friday 24 August, "Jani Niittukari" wrote:

> module mysystem
> {
> 	interface MySystem
> 	{
> 		void doit();
> 	};
> };
> 
> It seams that omniidl doesn't separate "mysystem" and "MySystem" from each
> other. Is this a bug or is there a good reason to this?

It's not a bug -- it's required by the CORBA specification. It's a
consequence of two things:

 1. Languages like C++ and Java reserve the name of a class inside
    that class, as the name of the class' constructor.

 2. It must be possible to map IDL to case insensitive languages, so
    identifiers differing only in case are not permitted.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --