Skip to main content


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 KurzeFriend
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 KurzeFriend
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: Thu Nov 07 19:19:32 GMT 2024

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

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

Back to the top