- From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
- Date: 27 Jun 2001 08:26:07 +0100
- To: vdv@dyomedea.com
- Cc: Uwe Zeise <uwezeise@yahoo.de>, xmlschema-dev@w3.org
Eric van der Vlist <vdv@dyomedea.com> writes:
<snip/>
> In your example, you have no other choice than defining both at the
> level of the root element.
Correct.
> It means that a xs:unique or xs:key and its corresponding xs:keyref need
> to be defined in the same element (the tables storing the values are
> local to this element).
Not quite -- simply that the scoping element for the key/unique must
be the same as or occur (in the instance) within the scoping element
for the keyref.
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 Wednesday, 27 June 2001 03:26:11 UTC