W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2000

xsd:any and xsd:element with max(min)occurs

From: Miloslav Nic <nicmila@idoox.com>
Date: Wed, 11 Oct 2000 11:14:27 +0200
Message-ID: <39E42F73.BA709D69@idoox.com>
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
In my understanding, if I use:

<xsd:element name="XXX">
	<xsd:element name="aaa" maxOccurs="2"/>
        <xsd:element name="bbb" maxOccurs="2"/>

Then this xml file vould be schema valid: 


Am I correct?

<firstName> Miloslav </firstName>    
<surname>   Nic      </surname>     

<mail>    nicmila@idoox.com    </mail>   
<support> http://www.zvon.org  </support>
Received on Wednesday, 11 October 2000 05:14:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:49 UTC