Issue 1112: Ada issue: Type string in package CORBA spec (ada-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: I have a suggestion regarding the current (CORBA version 2.2) IDL to Ada >mapping which concerns the type String in the package CORBA spec. >Here is a diff of the addition that I propose: > >*** corba.ads.orig Mon Mar 2 09:38:27 1998 >--- corba.ads Wed Mar 25 08:35:28 1998 >*************** >*** 29,34 **** >--- 29,37 ---- > type Octet is new Interfaces.Unsigned_8; > type String is new Ada.Strings.Unbounded.Unbounded_String; > >+ Null_Unbounded_String : constant String >+ := String >(Ada.Strings.Unbounded.Null_Unbounded_String); >+ > -- Exceptions > > type IDL_Exception_Members is abstract tagged null record; > > >The lack of the Null_Unbounded_String constant in the current CORBA spec >means it is cumbersome to compare a CORBA.String against the >Ada.Strings.Unbounded.Null_Unbounded_String, as such comparison requires a >type conversion. Resolution: Revised Text: Actions taken: March 26, 1998: received issue June 4, 1999: closed issue Discussion: End of Annotations:===== Return-Path: X-Sender: siegel@192.67.184.65 Date: Thu, 26 Mar 1998 16:01:08 -0500 To: juergen From: Jon Siegel Subject: Point of contact for IDL to Ada mapping Cc: "Oliver Kellogg" Hi, Juergen -- Please enter this into the issues database under Ada mapping, for the Ada RTF. The deadline for this RTF is March 30 so it's just in time to be considered. Thanks -- Jon Siegel >Return-Path: >X-Sender: cindy@emerald.omg.org >Date: Thu, 26 Mar 1998 11:09:06 -0500 >To: siegel >From: "Oliver Kellogg" (by way of Cindy McComiskey ) >Subject: Point of contact for IDL to Ada mapping > >Dear Ladies and Gentlemen: > >Could you please indicate a point of contact concerning the OMG IDL to >Ada language mapping standardization. > >I have a suggestion regarding the current (CORBA version 2.2) IDL to Ada >mapping which concerns the type String in the package CORBA spec. >Here is a diff of the addition that I propose: > >*** corba.ads.orig Mon Mar 2 09:38:27 1998 >--- corba.ads Wed Mar 25 08:35:28 1998 >*************** >*** 29,34 **** >--- 29,37 ---- > type Octet is new Interfaces.Unsigned_8; > type String is new Ada.Strings.Unbounded.Unbounded_String; > >+ Null_Unbounded_String : constant String >+ := String >(Ada.Strings.Unbounded.Null_Unbounded_String); >+ > -- Exceptions > > type IDL_Exception_Members is abstract tagged null record; > > >The lack of the Null_Unbounded_String constant in the current CORBA spec >means it is cumbersome to compare a CORBA.String against the >Ada.Strings.Unbounded.Null_Unbounded_String, as such comparison requires a >type conversion. > >Could you please indicate where I should send my proposal for consideration >by the IDL/Ada mapping standardization group. Thank you. > >Kind regards, > >Oliver M. Kellogg > >Daimler-Benz Aerospace AG >Sensor Systems, Dept. VE3E3 >D-89070 Ulm, Germany >phone: (+49) 731 392-7138 >fax: (+49) 731 392-4255 >e-mail: Oliver.Kellogg@vs.dasa.de > > > > > ================================================================== Jon Siegel Phone: 508-820-4300 X124 Director, Domain Technology Fax: 508-820-4303 Object Management Group 492 Old Connecticut Path email: siegel@omg.org Framingham, Massachusetts 01701 USA http://www.omg.org ==================================================================