Issue 5508: 69.8.2.8 The simple Element, page 69-538 (components-ftf) Source: Raytheon (Mr. Gerald Lee Bickle, Gerald.L.Bickle(at)raytheon.com) Nature: Uncategorized Issue Severity: Summary: 2. 69.8.2.8 The simple Element, page 69-538 Simple Extensions and Changes a) Enumerations - Add an optional enumerations element to the simple definition. This allows a simple enumeration property to be defined. Each enumeration label has an associated value. The values are all of the same simple type. Change simple element to: <!ELEMENT simple ( description? , value , choices? , enumerations? , defaultvalue? ) > Define new enumerations element <!ELEMENT enumerations ( enumeration+ )> <!ELEMENT enumeration EMPTY> <!ATTLIST enumeration label CDATA #REQUIRED value CDATA #IMPLIED> b) Short appears twice in the simple type attribute definition. Remove second occurrence. <!ELEMENT simple ( description? , value , choices? , defaultvalue? ) > <!ATTLIST simple name CDATA #IMPLIED type ( boolean | char | double | float | short -- 1st occurrence | long | objref | octet | short -- 2nd occurrence | string | ulong | ushort ) #REQUIRED > c) Units - add an optional units element to indicate the units of measurement for a simple property. <!ELEMENT simple ( description? , value , choices? , units? , defaultvalue? ) > <!ELEMENT units (#PCDATA)> d) Property Kind - The properties file for a component should not be restricted to only initial configuration properties. A component has many different types of properties and when defining a component one should be able to define these types of properties in a generic way. Add a kind element or attribute for a property definition. A component has readonly, writeonly, and readwrite properties. Simple properties can also be used for a component factory's create options parameter (home) or executable parameters/arguments. Only simple properties can be used for executable parameters. New simplekind element <!ELEMENT simplekind EMPTY> <!ATTLIST simplekind kindtype (configure_writeonly | configure_readwrite | execparam | query_readonly | factoryparam) "configure_readwrite"> Change simple definition to: <!ELEMENT simple ( description? , value , choices? , simplekind* , defaultvalue? ) > The propertykind can be an optional element or attribute for the stuct and sequence elements. New propertykind element <!ELEMENT propertykind EMPTY> <!ATTLIST propertykind kindtype (configure_writeonly | configure_readwrite | query_readonly | factoryparam) "configure"> Change Struct and Sequence to <!ELEMENT struct ( description? , ( simple | sequence | struct | valuetype )* , propertykind? ) > <!ATTLIST struct name CDATA #IMPLIED type CDATA #REQUIRED > <!ELEMENT sequence ( description? , ( simple* | struct* | sequence* | valuetype* ) , propertykind? ) > <!ATTLIST sequence name CDATA #IMPLIED type CDATA #REQUIRED > Resolution: Revised Text: Actions taken: July 15, 2002: received issue Discussion: Resolution: None as this is deferred to the final report of the Components 1.1 RTF. Revised Text: None as this is deferred to the final report of the Components 1.1 RTF End of Annotations:===== From: Gerald_L_Bickle@raytheon.com Subject: CCM Properties DTD Extensions & Changes To: issues@omg.org, components-rtf@omg.org Cc: "Mike McClimens" , "Smith, Jeff" , Edwin.Wrench@ITT.COM, mike.mcclimens@saalt.army.mil, "Mike McClimens" , David Fitkin , jeffrey.olynick@baesystems.com X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Date: Mon, 15 Jul 2002 13:57:19 -0500 X-MIMETrack: Serialize by Router on NotesServer3/HDC(Release 5.0.8 |June 18, 2001) at 07/15/2002 01:57:19 PM Document ptc/2001-11-03, CORBA Component Model ************************ 2. 69.8.2.8 The simple Element, page 69-538 Simple Extensions and Changes a) Enumerations - Add an optional enumerations element to the simple definition. This allows a simple enumeration property to be defined. Each enumeration label has an associated value. The values are all of the same simple type. Change simple element to: Define new enumerations element b) Short appears twice in the simple type attribute definition. Remove second occurrence. c) Units - add an optional units element to indicate the units of measurement for a simple property. d) Property Kind - The properties file for a component should not be restricted to only initial configuration properties. A component has many different types of properties and when defining a component one should be able to define these types of properties in a generic way. Add a kind element or attribute for a property definition. A component has readonly, writeonly, and readwrite properties. Simple properties can also be used for a component factory's create options parameter (home) or executable parameters/arguments. Only simple properties can be used for executable parameters. New simplekind element Change simple definition to: The propertykind can be an optional element or attribute for the stuct and sequence elements. New propertykind element Change Struct and Sequence to X-Sender: evans@mail.cpi.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 15 Jul 2002 17:24:12 -0400 To: components-rtf@omg.org From: "J. Scott Evans" Subject: Re: CCM Properties DTD Extensions & Changes I'd like to add to the suggested Property file changes Document ptc/2001-11-03, CORBA Component Model 69.8.2.8 The simple Element, page 69-538 Current text: Revised text: Add simple types long long, long double, wchar, and ulong long Scott Evans From: To: issues@omg.org, components-rtf@omg.org Date: Fri, 19 Jul 2002 09:23:47 -0500 X-MIMETrack: Serialize by Router on CollinsCRSMTP02/CedarRapids/RockwellCollins(Release 5.0.10 |March 22, 2002) at 07/19/2002 09:23:48 AM Document ptc/2001-11-03, CORBA Component Model ************************ Title : 69.8.2 Property File XML Elements 69.8.2.8 The simple Element, page 69-538 Change: Remove defaultvalue because it is an optional element that will never be used since value is mandatory. FROM TO