Problem:
- Product Name: VisiBroker
- Product Version: 4.x, 5.x, and 6.x
- Product Component: idl2cpp, idl2java
- Platform/OS Version: All
IDL is not case sensitive as per the CORBA spec
Resolution:
The Visibroker idl2cpp and idl2java tools assume that IDL files are not case sensitive. This is in compliance with the latest CORBA specification.
For example the following does not compile
module appmodule {
typedef sequence Somevar;
interface AppInterface {
attribute Somevar somevar;
};
};
Notice that both "Somevar" and "somevar" appear in this IDL definition. The IDL compiler sees these as the same keyword and thus will complain.In some cases IDL that compiled with earlier versions of the product will no longer compile due to stricter specification compliance. In these cases it is advisable to correct the IDL.
As a workaround, it may be possible to make a minor modification to the IDL which does not impact the application source code. For example, referring to the above IDL it is possible to fully scope the redundant keyword to avoid the confusion.
module appmodule {
typedef sequence Somevar;
interface AppInterface {
attribute appmodule::Somevar somevar;
};
};
#VisiBroker
#Security




