Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] invalid feature error
[ATL] invalid feature error [message #480846] Tue, 18 August 2009 16:22 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:ATL: error in called rule
Next Topic:[ATL] Unexpected behavior transforming extended metamodels.
Goto Forum:
  


Current Time: Thu Sep 19 01:24:26 GMT 2024

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

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

Back to the top