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.4.0 : Friday, 17 January 2020 23:14:47 UTC