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

RE: How ensure group elements exist and in any order

From: Michael Kay <mike@saxonica.com>
Date: Wed, 6 Oct 2004 19:16:54 +0100
To: "'Gary Fix'" <gary.fix@win-na.com>, "'Anli Shundi'" <ashundi@tibco.com>
Cc: <xmlschema-dev@w3.org>
Message-Id: <E1CFGLT-0004ob-00@ukmail1.eechost.net>

> 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 18:17:01 UTC

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