RE: Is minOccurs>maxOccurs Allowed?

Thanks Jeni,

>   2 If {max occurs} is not unbounded, that is, it has a numeric value,
>     then all of the following must be true:
>     2.1 {min occurs} must not be greater than {max occurs}.
>     2.2 {max occurs} must be greater than or equal to 1.
	
However, the Part 1 says :
if the <element> element information item has <complexType> or <group> as an
ancestor and the ref [attribute] is absent, the corresponding schema
components are as follows (unless minOccurs=maxOccurs=0, in which case the
item corresponds to no component at all): (just above
http://www.w3.org/TR/xmlschema-1/#Particle_details)

Also, shouldn't the maxOccurs be defined as (positiveInteger | unbounded)
since the above requirements apply to all particles.


Thanks,
Ajay

Received on Thursday, 13 June 2002 10:32:09 UTC