W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Is minOccurs>maxOccurs Allowed?

From: Dwivedi , Ajay Kumar <AjayKumar.Dwivedi@dresdner-bank.com>
Date: Thu, 13 Jun 2002 14:19:58 +0100
Message-ID: <81D792FDA471D21190DB0008C7A41A0601ED5C2B@kbi01ea0.wwz1me.mail.dresdner.net>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

Hi all,
	Is a particle with minOccurs > maxOccurs valid?
For example, if maxOccurs="0" and minOccurs is not specified,
(and thus defaults to 1), is the shcema valid?	

	<xsd:complexType name="bar">
			<xsd:element name="name" maxOccurs="0"/>

Or should a processor automatically decide to reset minOccurs to 0
in this case?

Received on Thursday, 13 June 2002 09:20:47 UTC

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