Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Issue in Trasformation with dot !!
Issue in Trasformation with dot !! [message #988813] Mon, 03 December 2012 10:26 Go to next message
Donato Tarantino is currently offline Donato TarantinoFriend
Messages: 2
Registered: December 2012
Junior Member
Hello,

I have this problem:

from
s: A!TypeA
to
t: B!Type.B

where dot is my critical problem!!

This dot, is contained in the name of my tag element, and so, is necessary..

Any suggestions!?

Thanks in advance.
Donato.
Re: Issue in Trasformation with dot !! [message #988910 is a reply to message #988813] Mon, 03 December 2012 16:34 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 616
Registered: July 2009
Senior Member
Hello,

Dot is a specific symbol in ATL, so it should not be normally used as part of a string.
Have you tried to escape the full string by doing something like:
t: B!"Type.B"

Best regards,

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Re: Issue in Trasformation with dot !! [message #989001 is a reply to message #988910] Tue, 04 December 2012 09:32 Go to previous message
Donato Tarantino is currently offline Donato TarantinoFriend
Messages: 2
Registered: December 2012
Junior Member
Yeah!! This is the solution!!

from A!TypeA
to B!"Type.B"...the double quotes is the solution!!

Thanks!!
Previous Topic:different transformed results between ATL configuration and Java programming transformation
Next Topic:Can I divide my script in different files?
Goto Forum:
  


Current Time: Fri Dec 19 21:52:51 GMT 2014

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

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