|OCL in XText Editor [message #969881]
||Sat, 03 November 2012 12:53
| Andrea Sindico
Registered: November 2010
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 13:07]
Report message to a moderator
|Re: Eclipse in XText Editor [message #971038 is a reply to message #970250]
||Sun, 04 November 2012 09:30
| Ed Willink
Registered: July 2009
It's only software; I'm sure it's possible....
Realistically, the API for detecting an error needs to be better. It's
probably possible to get Xtext to show a narrower context. However this
won't happen until I have got all the UML and OCL OCL constraints code
generated and being used live.
I don't understand the "wrong dsl" comment. Perhaps you need to share
On 03/11/2012 23:55, Andrea Sindico wrote:
> Although deprecated it works fine. The only thing I don't like is that
> the whole context, in the wrong dsl, is highlighted as error, not just
> the wrong token. Is there any way to just highlight it?
Powered by FUDForum
. Page generated in 0.02925 seconds