Issue 19192: Missing/Poor definition of iterate() (ocl2-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Clarification Severity: Minor Summary: The non-normative text defines iterate() and suggests that all iterators may be defined in terms of iterate() and notes that the use of iterate() on Bag/Set is indeterminate. The normative text omits iterate() and states that all iterators are defined in terms of iterate(). Suggest: Add iterate() to Section 11. Suggest: explicitly asSequence() all unordered iterate() inputs. Suggest: retract availability of iterate() on Bag/Set forcing an explicit asSequence(). Resolution: Revised Text: Actions taken: January 18, 2014: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 18 Jan 2014 03:32:32 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Ed Willink Employer: mailFrom: ed@willink.me.uk Terms_Agreement: I agree Specification: OCL Section: 11 FormalNumber: 13-08-13 Version: 2.4 Doc_Year: 2013 Doc_Month: August Doc_Day: 13 Page: many Title: Missing/Poor definition of iterate() Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: edwillink.plus.com Remote User: HTTP User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 Time: 03:32 AM Description: The non-normative text defines iterate() and suggests that all iterators may be defined in terms of iterate() and notes that the use of iterate() on Bag/Set is indeterminate. The normative text omits iterate() and states that all iterators are defined in terms of iterate(). Suggest: Add iterate() to Section 11. Suggest: explicitly asSequence() all unordered iterate() inputs. Suggest: retract availability of iterate() on Bag/Set forcing an explicit asSequence().