Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Set a mixed attribute (EFeatureMapEntry)(How to set a mixed attribute in an ecore created from XSD in ATL 3.1.0?)
[ATL] Set a mixed attribute (EFeatureMapEntry) [message #547282] Fri, 16 July 2010 08:10 Go to next message
Christian Kurze is currently offline Christian Kurze
Messages: 16
Registered: July 2009
Junior Member
Hi,

I have read this article:
http://atlanmod.emn.fr/www/atl_discussion_archive/1729.html

and this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156094

Is there any solution for ATL 3.1.0 to set mixed attributes in ecore files that are created from XSD files? The patch available in the bug description is not applicable to ATL 3.1.0. Please correct me, if I'm wrong.

Thanks a lot in advance!


Christian
Solved: [ATL] Set a mixed attribute (EFeatureMapEntry) [message #547366 is a reply to message #547282] Fri, 16 July 2010 13:26 Go to previous message
Christian Kurze is currently offline Christian Kurze
Messages: 16
Registered: July 2009
Junior Member
Problem solved!

It is important to generate the XMLTypeDocumentRoot before it should be assigned to the mixed type. The given example transformation in the bug description works fine if you keep the order of the generated model elements in mind.

Christian
Previous Topic:[Xtend] Couldn't find extension 'transform(null::Specifications)'
Next Topic:[ATL] How does ATL handle XMI?
Goto Forum:
  


Current Time: Mon Sep 22 10:32:58 GMT 2014

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

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