Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: rkw on October 23, 2008, 01:30:43 am

Title: Order of Elelements in Generated XSD
Post by: rkw on October 23, 2008, 01:30:43 am
Is there any way to affect the order that elementss are generated in the XSD? The order seems random to me.
Title: Re: Order of Elelements in Generated XSD
Post by: KP on October 23, 2008, 03:23:40 pm
My guess is that it's done in Z-order. Easily tested: right-click an element, Z-order > Send to Bottom, and re-generate XSD. The element at the bottom of the Z-order should appear first in the generated XSD.
Title: Re: Order of Elements in Generated XSD
Post by: Paolo F Cantoni on October 24, 2008, 12:02:12 pm
Quote
My guess is that it's done in Z-order. Easily tested: right-click an element, Z-order > Send to Bottom, and re-generate XSD. The element at the bottom of the Z-order should appear first in the generated XSD.
????

Please Neil (and all other Sparxians)...  DON'T guess! - find out and let us know...

We, users, often HAVE to guess, since we don't have access to the source and designs.  But it's an entirely different proposition for the supplier...

As RKW implies (and I've previously impressed on Sparx via other bug reports) guaranteeing consistency of ordered output is vital to being able to conduct serious comparison (and testing).

Paolo
Title: Re: Order of Elements in Generated XSD
Post by: KP on October 24, 2008, 12:19:00 pm
Quote
Please Neil (and all other Sparxians)...  DON'T guess!
I'm going to disagree with you on that one.

Quote
find out and let us know...
On receipt of a support request through the normal channels, I'm sure somebody will be able to find the time to do that.