[ATL] invalid feature error [message #480846] |
Tue, 18 August 2009 16:22 |
Eclipse User |
|
|
|
Originally posted by: crajiz3rc.gmail.com
Hi All,
I have this simple ATL Grammar Rule:
rule ModelToDocumentRoot
{
from
p:Soa!Model
to
d:DS!DocumentRoot (component<-c),
c:DS!Tcomponent (name<-p.name)
}
The source Model is :
<?xml version="1.0" encoding="UTF-8"?>
<SoaML:Model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SoaML="http://SoaML" name="MobileModel"
participants="#//MobileParticipant">
<packagedElement xsi:type="SoaML:Participant" name="MobileParticipant"/>
</SoaML:Model>
When i run the rule, I get the following error:
SEVERE: The feature 'obileParticipant' is not a valid feature
java.lang.IllegalArgumentException: The feature 'obileParticipant' is not
a valid feature
Please tell what is wrong, and how i can rectify this error..
Thanks a lot
Kind Regards,
Rajalaxmi
|
|
|
Re: [ATL] invalid feature error [message #481272 is a reply to message #480846] |
Thu, 20 August 2009 09:52 |
Eclipse User |
|
|
|
Originally posted by: crajiz3rc.gmail.com
Hi All,
I am still not able to rectify this error.
<?xml version="1.0" encoding="UTF-8"?>
<SoaML:Model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SoaML="http://SoaML"
xmlns:uml="http://www.eclipse.org/uml2/2.1.0/UML">
<packagedElement xsi:type="SoaML:Participant" name="MobileParticipant">
<services name="MobileImplementation" provided="#//MobileService"/>
</packagedElement>
<packagedElement xsi:type="uml:Interface" name="MobileService"/>
</SoaML:Model>
Here Service Provided has #//MobileService.... the error i get is
obileService not a valid feature. Why is the first letter being ommited .
How can i rectify this error.. Please help.
Thank you.
Kind Regards
Rajalaxmi
|
|
|
Powered by
FUDForum. Page generated in 0.03247 seconds