Guest gthomas Posted November 15, 2007 Share Posted November 15, 2007 If an XML schema has a sequence of elements in which maxOccurs>1 for one or more of the elements, is the order of the multiple instances of such an element significant? For example, suppose the following construct occurs in the schema:<sequence> <element name="A" type="whatever" maxOccurs="5"> <element name="B" type="whichever" maxOccurs="3"></sequence>In a document conforming to this sequence there may be up to 5 occurrences of element A followed by up to 3 occurrences of element B. It is clearly not allowed in any transmission or subsequent transformations of this document (such as conversion from text format to BiM format and then back to text format) to move any of the instances of element B ahead of any of the instances of element A. Is it allowed to change the order of the instances of element A among themselves and/or change the order of any of the instances of element B among themselves? The specifications of the XML schema language appear to be very vague on this point. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.