W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2003

minOccurs=maxOccurs=0

From: Mark Thomson <marktt@excite.com>
Date: Fri, 5 Sep 2003 19:19:56 -0400 (EDT)
To: xmlschema-dev@w3.org
Cc:
Message-Id: <20030905231956.5E5FA3CE9@xmxpita.excite.com>
 
Hi All...

I am sorry if this question has been asked before. The XML Schema 
(structures) doc says (at least) in  section 3.3.2 (XML Representation 
of Element Declaration Schema Components):

unless minOccurs=maxOccurs=0, in which case the item corresponds to no 
component at all

Section (or subsection) 3.9.6 (Constraints on Particle Schema  
Components) says that if maxOccurs != unbouded, then maxOccurs must be 
greater than or equal to 1. Doesn't this contradict the above ? 


Thanks.



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on Friday, 5 September 2003 19:19:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:39 GMT