W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2002

Re: xml attributes

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 30 Oct 2002 09:17:01 +0000
To: "Wood, Marcus" <Marcus.Wood@egg.com> (by way of "C. M. Sperberg-McQueen" <cmsmcq@acm.org>)
Cc: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Message-ID: <f5b7kg0cmlu.fsf@erasmus.inf.ed.ac.uk>

"Wood, Marcus" <Marcus.Wood@egg.com> (by way of "C. M. Sperberg-McQueen" <cmsmcq@acm.org>) writes:

> I'm trying to implement a solution using xml schemas.  The problem I am
> having is one concerend with xsd:attributes.  I would like to know how, if
> possible you can declare two attributes but only require one or other but
> not both.

I'm sorry but there's no support for co-occurence restrictions such as
this in XML Schema 1.0.  Such a facility is under consideration for
version 1.1.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2002, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 30 October 2002 04:17:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:59 UTC