i have a general question about attributes in XSD Schema.
Do they have to appear in the same order as declared?
example:
<xsd:attribute name="aaa" >
<xsd:attribute name="bbb" >
can they appear like this?
<shlomi aaa="1" bbb="2" >
as they can appear like:
<shlomi bbb="2" aaa="1" >
?
No. Attributes are unordered. (that is, although they have an order, being a stream of text, that order is not significant).
Therefore, both your XML examples are valid with respect to the XSD fragment you gave.