this happens for our XSD based xml editor: just noticed that the attributes in the code completion popup are not sorted alphabetically. As far as I know, the order of attributes does not matter in XML. So, I suggest to sort them after parsing the XSD. Of course, I could also add code to do this when generating the XSD. But when using a predefined XSD file, this is not possible.
Same could also apply to the “child elements” popup, but here I am not sure whether it could cause problems. As far as I know, you suggest only valid elements, so a child element list defined as “xsd:all” could be sorted alphabetically?
Thank you for confirming. I don’t think that elements must be sorted alphabetically. For example, sequence elements need to appear in the order defined by the schema.
Not sure about my suggestion - the author of the XSD could have had an intention when specifying the order of the enum values.
And I can easily sort the values myself when generating the XSD, so forget about my question