Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329658 - Problem with call with qualified name
Summary: Problem with call with qualified name
Status: CLOSED INVALID
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: All All
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 03:54 EST by Stephane Begaudeau CLA
Modified: 2016-03-29 05:08 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot of the problem (13.33 KB, image/png)
2010-11-08 03:54 EST, Stephane Begaudeau CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Begaudeau CLA 2010-11-08 03:54:50 EST
Created attachment 182596 [details]
Screenshot of the problem

This works:
[eClass.org::eclipse::acceleo::module::template()/]
[eClass.org::eclipse::acceleo::module::query()/]

this doesn't work:
[org::eclipse::acceleo::module::template()/]
[org::eclipse::acceleo::module::query()/]
[org::eclipse::acceleo::module::template(eClass)/]
[org::eclipse::acceleo::module::query(eClass)/]
Comment 1 Laurent Goubet CLA 2016-03-29 05:06:56 EDT
The OCL specification clearly states that qualified forms can only be used with an explicit source expression; so

[eClass.org::eclipse::acceleo::module::template()/]

is valid, but

[org::eclipse::acceleo::module::template(eClass)/]

is not.
Comment 2 Laurent Goubet CLA 2016-03-29 05:08:13 EDT
For the record, this is stated in section 7.5.6 of the OCL 2.3.1 specification.

"For clarity, the qualified form may only be used with an explicit source expression."