Community
Participate
Working Groups
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.