Issue 9822: Section: 7.3.44 (uml2-rtf) Source: Commissariat a l Energie Atomique-CEA (Dr. Sebastien Gerard, sebastien.gerard(at)cea.fr) Nature: Clarification Severity: Significant Summary: In the defintion of the Property concept, the type of the default attribute is a String. I believe it would be more powerful to type default with ValueSpecification Resolution: Revised Text: Actions taken: June 12, 2006: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 12 Jun 2006 05:43:14 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Sebastien Gerard Company: CEA-List mailFrom: sebastien.gerard@cea.fr Notification: Yes Specification: UML2.1 Section: 7.3.44 FormalNumber: ptc/2006-04-02 Version: 2.1 RevisionDate: 02/04/2006 Page: 125 Nature: Clarification Severity: Significant HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Description In the defintion of the Property concept, the type of the default attribute is a String. I believe it would be more powerful to type default with ValueSpecification. From: "Ed Seidewitz" To: Subject: RE: issue 9822 -- UML 2 RTF isuse Date: Fri, 16 Jun 2006 10:55:24 -0400 Organization: Data Access Technologies X-Mailer: Microsoft Office Outlook, Build 11.0.6353 thread-index: AcaQtVB1hgYDgm/UQ86ba55KSvXcJgAnxlNA X-OriginalArrivalTime: 16 Jun 2006 14:55:26.0471 (UTC) FILETIME=[E6F4A170:01C69154] There is already a "defaultValue" association from Property to ValueSpecification that does what is requested. The String-valued "default" attribute is marked as derived. Presumably, this should be some string representation of the defaultValue, through I can't find any constraint that defines the derivation of the default attribute. It is unclear why this attribute is needed at all, since one could always use an OpaqueExpression as the defaultValue if one wanted to just specify it as a string, and there is no standard String representation for other forms of ValueSpecification. -- Ed -------------------------------------------------------------------------------- From: Juergen Boldt [mailto:juergen@omg.org] Sent: Thursday, June 15, 2006 3:49 PM To: issues@omg.org; uml2-rtf@omg.org Subject: issue 9822 -- UML 2 RTF isuse From: webmaster@omg.org Date: 12 Jun 2006 05:43:14 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Sebastien Gerard Company: CEA-List mailFrom: sebastien.gerard@cea.fr Notification: Yes Specification: UML2.1 Section: 7.3.44 FormalNumber: ptc/2006-04-02 Version: 2.1 RevisionDate: 02/04/2006 Page: 125 Nature: Clarification Severity: Significant HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Description In the defintion of the Property concept, the type of the default attribute is a String. I believe it would be more powerful to type default with ValueSpecification. Juergen Boldt Director, Member Services 140 Kendrick St Building A Suite 300 Needham, MA 02494 USA tel: +1 781 444 0404 x 132 fax: +1 781 444 0320 email: juergen@omg.org www.omg.org Subject: RE: issue 9822 -- UML 2 RTF isuse Date: Fri, 16 Jun 2006 08:02:47 -0700 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: issue 9822 -- UML 2 RTF isuse Thread-Index: AcaQtVB1hgYDgm/UQ86ba55KSvXcJgAnxlNAAABUU2A= From: "Pete Rivett" To: "Ed Seidewitz" , The String-valued derived property is for forward compatibility with Infrastructure which has only the String-valued option (which is not derived there). Pete -------------------------------------------------------------------------------- From: Ed Seidewitz [mailto:ed-s@enterprisecomponent.com] Sent: Friday, June 16, 2006 3:55 PM To: uml2-rtf@omg.org Subject: RE: issue 9822 -- UML 2 RTF isuse There is already a "defaultValue" association from Property to ValueSpecification that does what is requested. The String-valued "default" attribute is marked as derived. Presumably, this should be some string representation of the defaultValue, through I can't find any constraint that defines the derivation of the default attribute. It is unclear why this attribute is needed at all, since one could always use an OpaqueExpression as the defaultValue if one wanted to just specify it as a string, and there is no standard String representation for other forms of ValueSpecification. -- Ed -------------------------------------------------------------------------------- From: Juergen Boldt [mailto:juergen@omg.org] Sent: Thursday, June 15, 2006 3:49 PM To: issues@omg.org; uml2-rtf@omg.org Subject: issue 9822 -- UML 2 RTF isuse From: webmaster@omg.org Date: 12 Jun 2006 05:43:14 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Sebastien Gerard Company: CEA-List mailFrom: sebastien.gerard@cea.fr Notification: Yes Specification: UML2.1 Section: 7.3.44 FormalNumber: ptc/2006-04-02 Version: 2.1 RevisionDate: 02/04/2006 Page: 125 Nature: Clarification Severity: Significant HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Description In the defintion of the Property concept, the type of the default attribute is a String. I believe it would be more powerful to type default with ValueSpecification. Juergen Boldt Director, Member Services 140 Kendrick St Building A Suite 300 Needham, MA 02494 USA tel: +1 781 444 0404 x 132 fax: +1 781 444 0320 email: juergen@omg.org www.omg.org From: "Ed Seidewitz" To: Subject: RE: issue 9822 -- UML 2 RTF isuse Date: Fri, 16 Jun 2006 11:10:58 -0400 Organization: Data Access Technologies X-Mailer: Microsoft Office Outlook, Build 11.0.6353 thread-index: AcaQtVB1hgYDgm/UQ86ba55KSvXcJgAnxlNAAABUU2AAAD8igA== X-OriginalArrivalTime: 16 Jun 2006 15:11:00.0809 (UTC) FILETIME=[13DD4B90:01C69157] Pete -- Shouldn't there be some constraint in the Superstructure spec giving the derivation from defaultValue to default, then (even if it is only informal, not OCL)? I couldn't find any. -- Ed -------------------------------------------------------------------------------- From: Pete Rivett [mailto:pete.rivett@adaptive.com] Sent: Friday, June 16, 2006 11:03 AM To: Ed Seidewitz; uml2-rtf@omg.org Subject: RE: issue 9822 -- UML 2 RTF isuse The String-valued derived property is for forward compatibility with Infrastructure which has only the String-valued option (which is not derived there). Pete -------------------------------------------------------------------------------- From: Ed Seidewitz [mailto:ed-s@enterprisecomponent.com] Sent: Friday, June 16, 2006 3:55 PM To: uml2-rtf@omg.org Subject: RE: issue 9822 -- UML 2 RTF isuse There is already a "defaultValue" association from Property to ValueSpecification that does what is requested. The String-valued "default" attribute is marked as derived. Presumably, this should be some string representation of the defaultValue, through I can't find any constraint that defines the derivation of the default attribute. It is unclear why this attribute is needed at all, since one could always use an OpaqueExpression as the defaultValue if one wanted to just specify it as a string, and there is no standard String representation for other forms of ValueSpecification. -- Ed