Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL Parsing order matters! Is there a solution?(About OCL Parser 1.2.3)
OCL Parsing order matters! Is there a solution? [message #491082] Tue, 13 October 2009 08:03 Go to next message
Skander TURKI is currently offline Skander TURKI
Messages: 128
Registered: July 2009
Senior Member
Hi,
I have several files to parse and then to check on a UML model, but i found out that the parsing order matters, in fact, when a method calls another one that is not yet parsed, an error occurs (OCL 1.2.3).
Does anybody know about a solution to this problem?
Thanks
Re: OCL Parsing order matters! Is there a solution? [message #491327 is a reply to message #491082] Wed, 14 October 2009 07:36 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4046
Registered: July 2009
Senior Member
Hi Skander

The OCL specification does not define whether forward references work;
indeed it doesn't actually define whether backward references work either.

MDT/OCL 1.x does not support forward references.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=187679 suggests
implementing forward references and raising a corresponding OMG
Issue to make the specification clear.

For now, you must avoid forward references.

Regards

Ed Willink


Skander wrote:
> Hi,
> I have several files to parse and then to check on a UML model, but i
> found out that the parsing order matters, in fact, when a method calls
> another one that is not yet parsed, an error occurs (OCL 1.2.3). Does
> anybody know about a solution to this problem?
> Thanks
Re: OCL Parsing order matters! Is there a solution? [message #491344 is a reply to message #491082] Wed, 14 October 2009 08:42 Go to previous message
Skander TURKI is currently offline Skander TURKI
Messages: 128
Registered: July 2009
Senior Member
thanks for your clear answer.
Previous Topic:OCL 2.1 Spec available?
Next Topic:OCL in Transition's Guard to access trigger properties
Goto Forum:
  


Current Time: Sun Sep 21 12:09:52 GMT 2014

Powered by FUDForum. Page generated in 0.02356 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software