Restriction of complex types by changing minOccurs

Hi. I am getting an error generated by Xerces-J for a schema
that validates ok for XSV (1.4) and XMLSpy (4.1). I would
appreciate an expert eye looking over it before I
chase it on xerces-j-user. Schema and example below.

The schema is rejected by Xerces-J-1.4.1, with the
message

"Derived element Container has a type that does not
derive from that of the base".

Not sure if it has something to do with the use of
anonymous types. Any enlightenment gratefully
received.

Regards
Michael


(See attached file: example.xsd)(See attached file: example.xml)
------------------------------------------
This e-mail is confidential.  If you are not the intended recipient, any use, disclosure or copying of this document is unauthorised and prohibited.  If you have received this document in error, please delete the email and notify me by return email or by phoning the NEMMCO Helpdesk on 1300 300 295.

Received on Tuesday, 13 November 2001 02:28:29 UTC