Issue 19406: Incorrect Result in ReduceAction Example (uml2-rtf) Source: (, ) Nature: Clarification Severity: Minor Summary: Unless my understanding of the ReduceAction is way off, the example says that with an input collection of four integers (2,7,5,3) the result of applying the ReduceAction to this collection with an addition function is 11. I believe the result should be 17 since 2+7+5+3 = 17 regardless of order. Resolution: Revised Text: Actions taken: May 4, 2014: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 04 May 2014 13:24:57 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Pete Karousos Employer: mailFrom: pkarouso@gmail.com Terms_Agreement: I agree Specification: OMG Unified Modeling Language Section: 16.13.5 FormalNumber: ptc/2013-09-05 Version: 2.5 Doc_Year: 2013 Doc_Month: September Doc_Day: 05 Page: 504 Title: Incorrect Result in ReduceAction Example Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: 162-237-109-239.lightspeed.rcsntx.sbcglobal.net Remote User: HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0 Time: 01:24 PM Description: Unless my understanding of the ReduceAction is way off, the example says that with an input collection of four integers (2,7,5,3) the result of applying the ReduceAction to this collection with an addition function is 11. I believe the result should be 17 since 2+7+5+3 = 17 regardless of order. X-Virus-Scanned: OK From: Ed Seidewitz To: Juergen Boldt , "issues@omg.org" , "uml2-rtf@omg.org" Subject: Re: issue 19406 -- UML 2 RTF issue Thread-Topic: issue 19406 -- UML 2 RTF issue Thread-Index: AQHPaHPdXd1feibGW0mRatQaW+DD/ZsyeeoA Date: Mon, 5 May 2014 20:03:07 +0000 Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.1.140326 x-originating-ip: [167.15.253.4] X-Virus-Scanned: amavisd-new at omg.org Oops. Maybe someone added it up in hex! ;-) Actually, in the UML 2.4.1 specification the numbers in the example were (2, 7, 5, -3), with “-3” instead of “3”, which really does add up to 11. I don’t remember exactly why we removed the negative sign, but maybe it was just to make the example simpler to format. In any case, we should now fix the sum! From: Juergen Boldt Date: Monday, May 5, 2014 at 11:06 AM To: "issues@omg.org" , "uml2-rtf@omg.org" Subject: issue 19406 -- UML 2 RTF issue From: webmaster@omg.org Date: 04 May 2014 13:24:57 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Pete Karousos Employer: mailFrom: pkarouso@gmail.com Terms_Agreement: I agree Specification: OMG Unified Modeling Language Section: 16.13.5 FormalNumber: ptc/2013-09-05 Version: 2.5 Doc_Year: 2013 Doc_Month: September Doc_Day: 05 Page: 504 Title: Incorrect Result in ReduceAction Example Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: 162-237-109-239.lightspeed.rcsntx.sbcglobal.net Remote User: HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0 Time: 01:24 PM Description: Unless my understanding of the ReduceAction is way off, the example says that with an input collection of four integers (2,7,5,3) the result of applying the ReduceAction to this collection with an addition function is 11. I believe the result should be 17 since 2+7+5+3 = 17 regardless of order. Juergen Boldt Director, Member Services 109 Highland Ave Needham, MA 02494 USA Tel: +1 (781) 444 0404 x 132 fax: +1 (781) 444 0320 www.omg.org []