W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2001

Re: XML Schema

From: Eddie Robertsson <eddie@allette.com.au>
Date: Wed, 28 Nov 2001 20:45:08 +1100
Message-ID: <3C04B224.95DE1EBE@allette.com.au>
To: Ashok Malhotra <ashokma@microsoft.com>
CC: caroline.schappler@bnpparibas.com, castor-dev@exolab.org, xmlschema-dev@w3.org
> Then you want to impose a constraint that at least one occurrence of
> element
> x must have a specified attribute value.  This is an example of what are
> sometimes called co-occurrence constraints.  Such constraints cannot be
> defined using XML Schema.

This would be trivial to implement using embedded Schematron rules. See [1]
for an example.

Cheers,
/Eddie

[1] http://lists.w3.org/Archives/Public/xmlschema-dev/2001Nov/0049.html
Received on Wednesday, 28 November 2001 04:38:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:19 GMT