Is there still the DTD's order limitation in Schema ?

    Hi, 
    I would like to define an Element which has children 
with no order constraints but with occurence constraints.
    For example it's something like that but without the order constraint
of the "<xsd:sequence>" : 

<xsd:complexType name="root">
    <xsd:sequence>
      <xsd:element name="elem1" type="xsd:string" minOccurs="2" maxOccurs="5"/>
      <xsd:element name="elem2" type="xsd:string" minOccurs="1" maxOccurs="7"/>
      <xsd:element name="elem3" type="xsd:string"minOccurs="0" maxOccurs="23"/>
    </xsd:sequence>
</xsd:complexType>


    This order constraint was one of the main constraint (for me) of DTD. This 
constraint was avoided by Microsoft with his XML-Data Reduced (XDR) 
(the attribut "order") but seems to be still there (I'm not aware of all the schema 
possibilities yet) with the W3C recommendation... 
    Am I wrong or is there a reason of this limitation ?

Received on Thursday, 28 June 2001 12:17:10 UTC