Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsline1 : error missing EOF at '('
https://www.eclipse.org/forums/index.php/mv/msg/487689/1059314/#msg_1059314
I am trying to valiadate OCL for my attribute(part of ecore) and i keep getting
line1 : error missing EOF at '('
But when i evaluate my ecore with help of delegates then there is no error so it seems a bug.
Cheers]]>ModelGeek Mising name2013-05-17T13:38:07-00:00Re: line1 : error missing EOF at '('
https://www.eclipse.org/forums/index.php/mv/msg/487689/1059332/#msg_1059332
Bugs are always possible but without the OCL to look at how can I tell?
Regards
Ed Willink
On 17/05/2013 14:38, ModelGeek Mising name wrote:
> Hi,
>
> I am trying to valiadate OCL for my attribute(part of ecore) and i
> keep getting
>
> line1 : error missing EOF at '('
>
> But when i evaluate my ecore with help of delegates then there is no
> error so it seems a bug.
>
> i am using following code:
>
> org.eclipse.ocl.examples.pivot.OCL ocl =
> org.eclipse.ocl.examples.pivot.OCL.newInstance(new
> PivotEnvironmentFactory());
> org.eclipse.ocl.examples.pivot.helper.OCLHelper helper =
> ocl.createOCLHelper();
> helper.setPropertyContext(eClass, eAttribute);
> try {
> helper.createDerivedValueExpression(body);
> } catch (org.eclipse.ocl.examples.pivot.ParserException e) {
> message = e.getDiagnostic().getMessage();
> }
>
> Is it a bug?
>
> Cheers]]>Ed Willink2013-05-17T14:25:05-00:00