I2JAV 1.1 NO IDEA Avatar
  1. OMG Issue

I2JAV11 — #pragma prefix issue

  • Key: I2JAV11-137
  • Legacy Issue Number: 3923
  • Status: closed  
  • Source: SciTegic Inc. ( Scott Markel)
  • Summary:

    Section 1.5.3 of the OMG's IDL Style Guide (ab/98-06-03) indicates that

    #pragma prefix "omg.org"

    should appear in any IDL file belonging to an OMG-approved
    specification. With the use of this prefix, the RepositoryID of a
    valuetype V in module M would be

    "IDL:omg.org/M/V:1.0"

    Section 1.13.8 of the IDL to Java Language Mapping Specification
    (formal/99-07-53) specifies the algorithm to be used in determining the
    location of a valuetype and its corresponding default factory, where
    location is in the Java package sense. If an ORB vendor follows this
    algorithm, the default value factory will be assumed to be in the Java
    package given by

    omg.org.M

    Following the Java convention of reversing a domain name to obtain a
    package hierarchy, one would expect to have implementation code in

    org.omg.M

    This mismatch requires users to register default value factories, which
    seems to go against the spirit of the second paragraph of section 5.4.3
    of the CORBA 2.3.1 Specification (formal/99-10-07) where the term
    "implicit registration" is used.

    Proposed resolution:

    In the IDL to Java language mapping the omg.org prefix is reversed to
    org.omg.

    Comments?

  • Reported: I2JAV 1.0 — Thu, 28 Sep 2000 04:00 GMT
  • Disposition: Resolved — I2JAV 1.1
  • Disposition Summary:

    see below

  • Updated: Fri, 6 Mar 2015 21:38 GMT