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

Re: Identity constraint questions

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Nov 2001 18:57:25 +0000
To: Jeni Tennison <jeni@jenitennison.com>
Cc: knoaman@ca.ibm.com, xmlschema-dev@w3.org
Message-ID: <f5b7ksiws4q.fsf@cogsci.ed.ac.uk>
Jeni Tennison <jeni@jenitennison.com> writes:

> I think that if you want the same identity constraint to apply for the
> elements in the sequence in the restricted type as apply to the
> elements in the sequence in the base type, then you have to include
> the identity constraint in element declaration for the restricted
> type. If you leave out the identity constraint from the element
> declaration in the restricted type, then I don't think it applies.

We got that wrong, didn't we :-(?

If you take away a constraint, you _add_ to the set of valid
instances!  The subset requirement should run the _other way_!

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, 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/
Received on Thursday, 22 November 2001 13:56:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:35 GMT