OCL in XText Editor [message #969881] |
Sat, 03 November 2012 16:53 |
|
I admit I am new to the Complete OCL.
I'd like to use it as a validation means instead of the XText default validation as described in this very nice presentation http://www.slideshare.net/EdWillink/enrich-your-models-with-ocl.
In this way I could exploit the same OCL to perform validation before further QVT/MOFM2T(ACCELEO) transformations.
To this end I have started with an empty .ocl file and I am trying to define the first import.
The problem is that it depicts this error:
Unresolved import 'http:/...' : White spaces are required between publicId and systemId.
What am I doing wrong?
Follow me on Twitter @andreasindico
[Updated on: Sat, 03 November 2012 17:07] Report message to a moderator
|
|
|
|
Re: Eclipse in XText Editor [message #969914 is a reply to message #969899] |
Sat, 03 November 2012 17:27 |
|
Hi Ed,
thank for your kind answer.
I have tried the platform:/resource/.. notation importing the Ecore as you suggested and it works.
However I guess I have to import the registered package in order to use it in a secondary Eclipse Application (which also executes the XText editor for the language to validate).
am I right?
Follow me on Twitter @andreasindico
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04244 seconds