min/max occurs facets on choice?

We have a question regarding the use of min/max occurs facet on a choice
construct.  The following would seem to be ambiguous:

  <xs:complexType>
   <xs:choice maxOccurs="unbounded">
    <xs:element name="x" maxOccurs="10">
    ...

How does one know if the repetition is on the choice or the element inside?
This being the case, how is the inner maxOccurs enforced?  If it is valid,
what facet is used (can only 10 x's be present or an unbounded number)?

We could not find anything in the standards indicating this is invalid and
our test schema was declared valid using XSV, so I assume it is OK.  But it
would appear to be non-deterministic.

Regards,

Ed Day
Objective Systems, Inc.

Received on Friday, 13 February 2004 12:50:51 UTC