RE: [xml-dev] minOccurs maxOccurs doesnt seem to be working correctly in my schema

From
Michael Kay <>
To
'Marielou' <>, 'Paul Spencer' <>,
Date
2006-06-14T08:27:58Z
ID
<00a301c68f8c$71901820$6401a8c0@turtle>
Thread
RE: [xml-dev] minOccurs maxOccurs doesnt seem to be working correctly in my schema
> does this disallow using <all> with {min occurs}=0 or 1, {max 
> occurs}=1, and using element ref to reference another  
> element which has a <sequence> which can occur more than 1x? 

No. If element B is a child of element A, then the content model for B is
entirely independent of the content model for A.

Michael Kay
http://www.saxonica.com/