"Fredrik Lindgren" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Scott Hrehirchuk wrote: > > This may have been mentioned before, but... > > > > When the xml code completion fills in the required attributes, they seem > > to be in random order. > > Is there any chance the order could be determined by the DTD? > > Attributes are specified as a set rather than a list in the XML > Recommendation and the order can not be governed by a DTD. It is > generally bad practice to base any XML processing on attribute order > since XML parsers are not required to preserve the order. As for > readability of the xml file there could of course be a point in keeping > a predictable order. Sorting on attribute name could be an option.
I would prefer attributes to be added in the order of the previous use of the tag in the file. If there is no previous use, perhaps show the list instead of sticking one in, or put them in alpha order. Alternatively, I could live with always having them in alpha order and having a command to reorder all of the file's attributes to alpha order. _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
