Try the xsd:all model group
-----Original Message-----
From: Asaf Lahav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 10:09 AM
To: user@xmlbeans.apache.org
Subject: RE: a simple xsd question


What would be the best way to define a complex type without forcing a
specific order of elements?

-----Original Message-----
From: cbryant [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 18, 2006 5:50 PM
To: user@xmlbeans.apache.org
Subject: Re: a simple xsd question


xs:sequence tags define an ordered sequence of elements.  Therefore, the
provided XML is invalid because the sequence of SubmitPurchaseOrder
child
elements does not match the sequence in the XSD.

Switching the argx and argy tags (in the XML or the XSD) will result in
a
valid document.

Regards,
Coram
-- 
View this message in context:
http://www.nabble.com/a-simple-xsd-question-tf2467386.html#a6879329
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to