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 05:26 Go to next message
Donato Tarantino is currently offline Donato Tarantino
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 11:34 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 600
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 04:32 Go to previous message
Donato Tarantino is currently offline Donato Tarantino
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: Tue Jul 22 17:39:44 EDT 2014

Powered by FUDForum. Page generated in 0.02036 seconds