Issue 4529: Incorrect syntax in Components::Enumeration (components-ftf) Source: International Business Machines (Mr. Ignacio Silva-Lepe, isilval(at)us.ibm.com) Nature: Uncategorized Issue Severity: Summary: The use of the state keyword in the Components::Enumeration valuetype, introduced by issue 3099 and extended in issue 3418, is not correct syntactically. Also, anonymous sequences have been deprecated, so the definition of the Components::Enumeration state is incorrect in this sense as well. Resolution: see below Revised Text: In section 64.3.1.2, page 64-179, replace At least one concrete implementation of this abstract value type must be provided. Concrete implementations derive from Enumeration by providing a state variable that aggregates objects of type CCMObject. For example, the following value type MyEnumeration would be an implementation of Enumeration: typedef sequence< Components::CCMObject > CCMObjectSeq; valuetype MyEnumeration : Components::Enumeration { state { private CCMObjectSeq objects; }; }; with A concrete specialization of this abstract value type must be provided. This specialization has the form: module Components { typedef sequence< Components::CCMObject > CCMObjectSeq; valuetype DefaultEnumeration : Enumeration { private CCMObjectSeq objects; }; }; Any implementation of DefaultEnumeration, in any language, must provide implementations for the two Enumeration methods. Any client ORB that supports the interoperable bridge has to provide an implementation that knows how to read DefaultEnumeration from the wire and to use that information to provide a local implementation of these two methods. Any EJB container that supports the CCM-EJB bridge has to provide an implementation that knows how to construct itself from a java.util.Enumeration and then write itself to the wire as a DefaultEnumeration. Actions taken: July 13, 2001: received issue May 13, 2002: closed issue Discussion: Amend the definition of Components::Enumeration given by both issues 3099 and 3418. End of Annotations:===== Importance: Normal Subject: Re: CCM Issue: Incorrect syntax in Components::Enumeration To: juergen@omg.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Ignacio Silva-Lepe" Date: Tue, 21 Aug 2001 10:07:51 -0400 X-MIMETrack: Serialize by Router on D01ML233/01/M/IBM(Release 5.0.8 |June 18, 2001) at 08/21/2001 10:07:53 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-UIDL: 9NNe9RQ*e95*#!!NkA!! Hello Juergen, I submitted this issue a few weeks ago and I don't see it in the issues list, nor have I gotten an issue number for it. Did I not submit it properly? Thanks, -- Ignacio Ignacio Silva-Lepe IBM T. J. Watson Research Center P.O. Box 704 Yorktown Heights, NY 10598, USA INTERNET: isilval@us.ibm.com WWW: http://www.zgnews.com/silva Phone: (914) 784 7003 Fax: (914) 784 6040 ---------------------- Forwarded by Ignacio Silva-Lepe/Watson/IBM on 08/21/2001 10:04 AM --------------------------- Ignacio Silva-Lepe 07/13/2001 03:14 PM To: issues@omg.org cc: From: Ignacio Silva-Lepe/Watson/IBM@IBMUS Subject: CCM Issue: Incorrect syntax in Components::Enumeration Summary: The use of the state keyword in the Components::Enumeration valuetype, introduced by issue 3099 and extended in issue 3418, is not correct syntactically. Also, anonymous sequences have been deprecated, so the definition of the Components::Enumeration state is incorrect in this sense as well. Ignacio Silva-Lepe IBM T. J. Watson Research Center P.O. Box 704 Yorktown Heights, NY 10598, USA INTERNET: isilval@us.ibm.com WWW: http://www.zgnews.com/silva Phone: (914) 784 7003 Fax: (914) 784 6040