Issue 14599: OCL 2.1 12 Documents (ocl2-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Uncategorized Issue Severity: Summary: 12.2 defines a syntax for a standalone OCL document, but provides no mechanism to assist an implementation in locating packages or to partition into multiple reusable documents. a) Suggest addition of an ImportDeclarationCS ImportDeclarationCS ::= import StringLiteralExpCS where StringLiteralExpCS is a URI whose MOF/UML model content an implementation should make visible within the root environment. import is a new reserved word. b) Suggest addition of an IncludeDeclarationCS IncludeDeclarationCS ::= include StringLiteralExpCS where StringLiteralExpCS is a URI whose OCL document content an implementation should interpret (at most once) before proceeding. include is a new reserved word. c) Suggest addition of an OclDocumentCS OclDocumentCS ::= (ImportDeclarationCS)* (IncludeDeclarationCS | PackageDeclarationCS[A])* d) Suggest an OclPackage to own the Constraints for each Package and bypass the problem that Constriants do not have distinguishable names as required by Package content. Resolution: Revised Text: Actions taken: October 31, 2009: received issue Discussion: End of Annotations:===== s is issue # 14599 From: Ed Willink OCL 2.1 12 Documents 12.2 defines a syntax for a standalone OCL document, but provides no mechanism to assist an implementation in locating packages or to partition into multiple reusable documents. a) Suggest addition of an ImportDeclarationCS ImportDeclarationCS ::= import StringLiteralExpCS where StringLiteralExpCS is a URI whose MOF/UML model content an implementation should make visible within the root environment. import is a new reserved word. b) Suggest addition of an IncludeDeclarationCS IncludeDeclarationCS ::= include StringLiteralExpCS where StringLiteralExpCS is a URI whose OCL document content an implementation should interpret (at most once) before proceeding. include is a new reserved word. c) Suggest addition of an OclDocumentCS OclDocumentCS ::= (ImportDeclarationCS)* (IncludeDeclarationCS | PackageDeclarationCS[A])* d) Suggest an OclPackage to own the Constraints for each Package and bypass the problem that Constriants do not have distinguishable names as required by Package content.