Bug 402836 - Support use of Complete OCL documents
Summary: Support use of Complete OCL documents
Status: NEW
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows Vista
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-10 09:17 EDT by Ed Willink CLA
Modified: 2013-03-10 09:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2013-03-10 09:17:15 EDT
It is not currently possible to use a Complete OCL document to provide additional facilities for a model transformation.

One option might be to add a new [import/[include/[uses syntax and a dedicated loader.

A more general solution might be to recognize that a Complete OCL document should be a 'package' and so may have its own registered nsURI. An Acceleo user may therefore just add an additional URI to the [Module clause to reference the Complete OCL package. The Acceleo metamodel loader then just recognises the document and activates a Complete OCL parser.

This is likely to present significant challenges in the XMI serialization for the Ecore-based OCL. Equivalent challenges for the Pivot-based OCL are logged as Bug 371018 and Bug 402780.