Re: IOR reference of ORbit2 not recognized by mico
- From: Michael Meeks <michael ximian com>
- To: Hing-Wah Wan <50191914 ee cityu edu hk>
- Cc: Mark McLoughlin <mark skynet ie>, orbit <orbit-list gnome org>
- Subject: Re: IOR reference of ORbit2 not recognized by mico
- Date: 20 Mar 2002 13:01:19 +0000
Hi Hing,
On Wed, 2002-03-20 at 10:08, Hing-Wah Wan wrote:
> IOP_TAG_MULTIPLE_COMPONENTS:
> IOP_TAG_COMPLETE_OBJECT_KEY: object_key (24)
> '000000003ba9eb0f4398b0c50100000047f8e840333a6774'
>
> Unknown component 0x1
> ^^^^^^^^^^^^^^^^^^^^^
> from the response in the mico mailing list,
> it seem that mico fail to recognize the IOR because of this unknown
> component ,bugs?
Ok - please tell the Mico mailing list that this tag is the CODE_SET
tag that tells the world that ORBit2 is a UTF-8 only ORB:
/* we always marshal the same thing: see 13.7.2.4 */
static void
IOP_TAG_CODE_SETS_marshal(CORBA_Object obj, GIOPSendBuffer *buf,
IOP_Component_info *ci)
{
/* To get these magic numbers see the 'OSF Character
and Codeset Registry'; ftp.opengroup.org/pub/code_set_registry */
CORBA_unsigned_long utf8_key = 0x05010001;
CORBA_unsigned_long utf16_key = 0x00010109;
/* Marshal a CodeSetComponentInfo structure */
CodeSetComponent_marshal (buf, utf8_key, NULL);
CodeSetComponent_marshal (buf, utf16_key, NULL);
}
Mico should most likely just ignore it - it's only there for paranoid
reasons, to satisfy a Sun chap that we're doing things right and that
the JavaORB will know the strings are utf-8 and not something whacked
out - which would be stupid anyway.
HTH,
Michael.
--
mmeeks@gnu.org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]