NOT 1.3 NO IDEA Avatar
  1. OMG Issue

NOT13 — Notification Service IDL issues

  • Key: NOT13-10
  • Legacy Issue Number: 6343
  • Status: open  
  • Source: Anonymous
  • Summary:

    just came across Notification Service IDL where
    you are mentioned as contact person:

    When I "grep" on all IDL files I notice that
    orb.idl is not included.

    I notice further that file

    CosNotifyFilter.idl

    in line 105 makes use of TypeCode:

    readonly attribute CORBA::TypeCode value_type;

    However section 3.19 "CORBA Module" of current
    CORBA standard 3.0.2 reads as:

    >> Names defined by the CORBA specification are in a module named CORBA. In an
    >> OMG IDL specification, however, OMG IDL keywords such as Object must not be
    >> preceded by a "CORBA::" prefix. Other interface names such as TypeCode are not
    >> OMG IDL keywords, so they must be referred to by their fully scoped names (e.g.,
    >> CORBA::TypeCode) within an OMG IDL specification.
    >> For example in:
    >> #include <orb.idl>
    >> module M

    { >> typedef CORBA::Object myObjRef; // Error: keyword Object scoped >> typedef TypeCode myTypeCode; // Error: TypeCode undefined >> typedef CORBA::TypeCode TypeCode;// OK >> }

    ;
    >> The file orb.idl contains the IDL definitions for the CORBA module. Except for
    >> CORBA::TypeCode, the file orb.idl must be included in IDL files that use names
    >> defined in the CORBA module. IDL files that use CORBA::TypeCode may obtain its
    >> definition by including either the file orb.idl or the file TypeCode.idl.

    In my humble opinion, "your" Notification IDL is
    not correct.

    Perhaps you have some time left to comment on
    this?

  • Reported: NOT 1.3 — Mon, 13 Oct 2003 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:58 GMT