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

Re: keyRef scope and Xerces Parser !?

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
Message-ID: <f5blmmefkog.fsf@cogsci.ed.ac.uk>
Eric van der Vlist <vdv@dyomedea.com> writes:


> In your example, you have no other choice than defining both at the
> level of the root element.


> 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.

  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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:52 UTC