Problem with sequence inside a group

Hi,

Xerces 2.5.2 complains at my schema when a sequence (directly under a
group declaration) has cardinality values (see Listing 1). To me this
appears to be a bug within the schema parser. What do you lot think?

As a work-around, I simply added a choice around the sequence (Listing
2) and it works.

Regards,
Simon

Listing 1:
	<xs:group name="MenuGroup">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element ref="Menu" minOccurs="0"
maxOccurs="unbounded"/>
			<xs:element ref="Separator" minOccurs="0"
maxOccurs="unbounded"/>
			<xs:element ref="Action" minOccurs="0"
maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:group>


Listing 2:
	<xs:group name="MenuGroup">
		<xs:choice>
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element ref="Menu" minOccurs="0"
maxOccurs="unbounded"/>
			<xs:element ref="Separator" minOccurs="0"
maxOccurs="unbounded"/>
			<xs:element ref="Action" minOccurs="0"
maxOccurs="unbounded"/>
		</xs:sequence>
		</xs:choice>
	</xs:group>




----------------------------------------
Simon Kampa
Consultant
STASYS Limited, 
The Granary, 1 Waverley Lane, 
Farnham, Surrey, UK, GU9 8BB

email: simon.kampa@stasys.co.uk
Tel: +44 (0)1252 732584
STASYS web site: http://www.stasys.co.uk 

________________________________________________________________________
This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. They may contain sensitive and/or in confidence information that is covered by legal, professional or other privilege. No mistake in transmission is intended to waive or compromise any such privilege. If you have received this email in error please notify the sender at once.

This email has been scanned for viruses on behalf of STASYS Limited by
the MessageLabs Email Security System.
________________________________________________________________________

Received on Friday, 23 July 2004 11:27:33 UTC