W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2004

RE: How ensure group elements exist and in any order

From: Gary Fix <gary.fix@win-na.com>
Date: Wed, 6 Oct 2004 13:22:13 -0700
Message-ID: <EC0B8316E6B52349A8320C05B0E9CEA702DD871D@uniexcha.unigard.com>
To: "Michael Kay" <mike@saxonica.com>, "Anli Shundi" <ashundi@tibco.com>
Cc: <xmlschema-dev@w3.org>

Thank you both for your help!
:-)

-----Original Message-----
From: Michael Kay [mailto:mike@saxonica.com]
Sent: Wednesday, October 06, 2004 11:17 AM
To: Gary Fix; 'Anli Shundi'
Cc: xmlschema-dev@w3.org
Subject: RE: How ensure group elements exist and in any order


> The requirement is that I must have Either a VIN Or a 
> VinGroup Or Both, And if I have a VinGroup, then All the 
> elements of the VinGroup must be present, In Any Order...

That gets into co-occurrence constraints, which can't be expressed in XML
Schema.

Michael Kay
http://www.saxonica.com/
Received on Wednesday, 6 October 2004 20:22:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:11 UTC