Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > ID inconsistenc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 533 of 534
Post > Topic >>

ID inconsistency among implementations

by Lukas Zapletal <lukas.zapletal@[EMAIL PROTECTED] > Apr 23, 2008 at 12:51 AM

Hello,

I have found that different CORBA implementations generates different
element IDs. Suppose this example:

module test {
	union myUnion switch(long) {
		case 0 : string str;
		case 1 : wstring wstr;
		case 3 : struct ms {
			boolean test;
		} ms_;
		case 4 : enum me {xx1, xx2} me_;
	};
};

Now when I generate stubs with various implementations I get different
IDs for the struct "ms":

JacORB: IDL: test/ms:1.0
Sun JRE 1.5: IDL:test/ms:1.0
Sun JRE 1.6: IDL:test/myUnion/ms/ms:1.0

Does this mean if you want to use IR among implementation you need to
modify it with #prefix statements?

ps - are interface IDs used for anything else than IR?




 1 Posts in Topic:
ID inconsistency among implementations
Lukas Zapletal <lukas.  2008-04-23 00:51:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 23:28:09 CDT 2008.