Issue 19637: Minor error in ptc-13-09-05 (uml2-rtf) Source: Model Driven Solutions (Mr. Steve Cook, steve-c(at)modeldriven.org) Nature: Revision Severity: Summary: In ptc-13-09-05.pdf on page 9 it says: Where items need to be grouped they are enclosed in simple parenthesis; for example: (<item-1> | <item-2>) * signifies a sequence of one zero or more items, each of which is <item-1> or <item-2>. I think the word one must be replaces by zero because on page 28 it says: If the lower bound is equal to the upper bound, then an alternate notation is to use a string containing just the upper bound. For example, “1” is semantically equivalent to “1..1” multiplicity. A multiplicity with zero as the lower bound and an unspecified upper bound may use the alternative notation containing a single star “*” instead of “0..*” multiplicity. Resolution: Revised Text: Actions taken: October 10, 2014: received issue Discussion: Thanks Steve for entering this issue. Here are a few comments and clarifications: The issue writer is mixing BNF rules and Multiplicities. His original claim regarding the asterisk on page 9 is about BNF rules, his reasoning referring to page 28 is about Multiplicity notation rules. Besides this, the issue writer is correct regarding page 9. BNF repetition symbols are borrowed from regular expression rules, where the asterisk (*) signifies zero to many occurrences, while the plus sign (+) signifies one to many occurrences. Page 9 needs to be corrected to reflect the correct definition of repetition symbols in accordance with regular expression rules, as this is expected by readers; and the whole spec needs to be reviewed to ensure that every definition expressed in BNF uses the correct repetition symbols. Manfred End of Annotations:===== riginating-Email: [stevecook@hotmail.co.uk] From: Steve Cook To: CC: "'Robert van Poelgeest'" Subject: RE: Minor error in ptc-13-09-05.pdf ? Date: Fri, 10 Oct 2014 14:53:43 +0100 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgMEprcnizZLhguON6a9rtpoUJ/HHsMw X-OriginalArrivalTime: 10 Oct 2014 13:53:44.0667 (UTC) FILETIME=[9B76AAB0:01CFE491] X-Virus-Scanned: amavisd-new at omg.org Forwarding to issues@omg.org. From: Robert van Poelgeest [mailto:r.vanpoelgeest@metaobjects.nl] Sent: 10 October 2014 14:47 To: steve-c@modeldriven.org; steve-c@modeldriven.org Subject: Minor error in ptc-13-09-05.pdf ? Dear mister Cook, In ptc-13-09-05.pdf on page 9 it says: Where items need to be grouped they are enclosed in simple parenthesis; for example: ( | ) * signifies a sequence of one zero or more items, each of which is or . I think the word one must be replaces by zero because on page 28 it says: If the lower bound is equal to the upper bound, then an alternate notation is to use a string containing just the upper bound. For example, β€œ1” is semantically equivalent to β€œ1..1” multiplicity. A multiplicity with zero as the lower bound and an unspecified upper bound may use the alternative notation containing a single star β€œ*” instead of β€œ0..*” multiplicity. With kind regards, Robert van Poelgeest From: "Manfred R. Koethe" Subject: Re: issue 19637 -- UML 2.5 RTF issue Date: Fri, 10 Oct 2014 11:38:22 -0700 To: Juergen Boldt , uml2-rtf@omg.org X-Mailer: Apple Mail (2.1878.6) X-Provags-ID: V02:K0:NhXW3bFh1lVunS22SwHAUriFPkYexugbBFA2C+gdUt0 05l2N1KmfJw4PF+eWthlcA/n3CDnuHL6/wHSfTkk6aWyrzNhS9 xlP9hxCB6EJFIfHl8Zjp8OWPXcuWzwN1FxskK7T6ywd33PSzj5 dH4IZ9ZWo9CXOKRZy5ny8aHKcesIKFiO92gqrOVccXqBElHMnD mhuKE0tlrd1+ZOM+O94yDkYNazGJJa0RW4TQfySUaTlKA1+6eP 4fbE0Dc8rRDT9L8plvE0I3iURnVzXeeuIto+cmbz1s0wHncHpy ZOmEf1R6JxWjegd5f04ilxOZw/qbfRozDK+YAffp+H3lkl/RE9 0HpTVQ2V1NjrOZveGQDlvc8panIBbDGH5Pjj3zRlpW/iKZxXjY 2Ur1tstczSOUFNx8ou/a4ygJRXXVXiPm+s= X-UI-Out-Filterresults: notjunk:1; X-Virus-Scanned: amavisd-new at omg.org Thanks Steve for entering this issue. Here are a few comments and clarifications: The issue writer is mixing BNF rules and Multiplicities. His original claim regarding the asterisk on page 9 is about BNF rules, his reasoning referring to page 28 is about Multiplicity notation rules. Besides this, the issue writer is correct regarding page 9. BNF repetition symbols are borrowed from regular expression rules, where the asterisk (*) signifies zero to many occurrences, while the plus sign (+) signifies one to many occurrences. Page 9 needs to be corrected to reflect the correct definition of repetition symbols in accordance with regular expression rules, as this is expected by readers; and the whole spec needs to be reviewed to ensure that every definition expressed in BNF uses the correct repetition symbols. Manfred PS to Juergen: Can you please enter this (above) into β€œDiscussion” for this issue? - Thanks. On Oct 10, 2014, at 07:13 , Juergen Boldt wrote: X-TMN: [kkKrZUQyaQcGVAqpIjnLkEZuQHKEaAoF] X-Originating-Email: [stevecook@hotmail.co.uk] From: Steve Cook To: CC: "'Robert van Poelgeest'" Subject: RE: Minor error in ptc-13-09-05.pdf ? Date: Fri, 10 Oct 2014 14:53:43 +0100 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgMEprcnizZLhguON6a9rtpoUJ/HHsMw X-OriginalArrivalTime: 10 Oct 2014 13:53:44.0667 (UTC) FILETIME=[9B76AAB0:01CFE491] X-Virus-Scanned: amavisd-new at omg.org Forwarding to issues@omg.org. From: Robert van Poelgeest [ mailto:r.vanpoelgeest@metaobjects.nl] Sent: 10 October 2014 14:47 To: steve-c@modeldriven.org; steve-c@modeldriven.org Subject: Minor error in ptc-13-09-05.pdf ? Dear mister Cook, In ptc-13-09-05.pdf on page 9 it says: Where items need to be grouped they are enclosed in simple parenthesis; for example: ( | ) * signifies a sequence of one zero or more items, each of which is or . I think the word one must be replaces by zero because on page 28 it says: If the lower bound is equal to the upper bound, then an alternate notation is to use a string containing just the upper bound. For example, β€œ1” is semantically equivalent to β€œ1..1” multiplicity. A multiplicity with zero as the lower bound and an unspecified upper bound may use the alternative notation containing a single star β€œ*” instead of β€œ0..*” multiplicity. With kind regards, Robert van Poelgeest 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 [] --------------------------------------------------------------- Manfred R. Koethe 88solutions Corporation tel: +1 (510) 246 8611 fax: +1 (815) 550 2086 mailto: koethe@88solutions.com web: http://www.88solutions.com --------(Model-Driven Modeling Solutions)-------- signature7.asc signature7.asc