| Preserve attribute order in XSD to Ecore import [message #637803] |
Mon, 08 November 2010 17:55  |
Jason Barkanic Messages: 16 Registered: November 2009 |
Junior Member |
|
|
I'm creating an Ecore model from an XSD. Apparently the import process sorts a type's attributes alphabetically. Is there any way to turn this off, so that the resulting Ecore retains the order as written in the XSD?
I noticed that attributes defined in attribute groups do not get sorted, so I imagine I could create an attribute group for each of my types as a work around. (Or manually go through the Ecore and re-order things.) I have a lot of types though, so if there is an easier solution...
-Jason
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01712 seconds