Issue 19667: QVTr Declaration Order (qvt-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Enhancement Severity: Minor Summary: QVTr imposes an unnatural declaration order in the exposition of a RelationCS. Surely the when clause should be early and variable declarations where initializeable? Suggest relaxing the ordering constraint on declarations in a RelationCS to permit the more readable order - variable declarations used by when - when clauses - variable declarations used by check domains - check domains - variable declarations used by enforce domains - enforce domains - variable declarations used by where - where clauses Resolution: Revised Text: Actions taken: November 28, 2014: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 28 Nov 2014 07:58:49 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Ed Willink Employer: mailFrom: ed@willink.me.uk Terms_Agreement: I agree Specification: QVT 1.2 Section: - FormalNumber: - Version: - Doc_Year: Year Doc_Month: Month Doc_Day: Day Page: - Title: QVTr Declaration Order Nature: Enhancement 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:33.0) Gecko/20100101 Firefox/33.0 Time: 07:58 AM Description: QVTr imposes an unnatural declaration order in the exposition of a RelationCS. Surely the when clause should be early and variable declarations where initializeable? Suggest relaxing the ordering constraint on declarations in a RelationCS to permit the more readable order - variable declarations used by when - when clauses - variable declarations used by check domains - check domains - variable declarations used by enforce domains - enforce domains - variable declarations used by where - where clauses