- From: Eric van der Vlist <vdv@dyomedea.com>
- Date: Wed, 27 Jun 2001 09:35:59 +0200
- To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>
- Cc: Uwe Zeise <uwezeise@yahoo.de>, xmlschema-dev@w3.org
"Henry S. Thompson" wrote:
>
> Eric van der Vlist <vdv@dyomedea.com> writes:
>
> > 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.
I think that it's what I meant ;=) ...
I should have said "scoping element" rather than "element", but my
understanding is that the PSVI key/keyref tables are both local to the
scoping element and that, therefore, the matching between key/unique and
keyref can only be done at this location.
This is one of the differences with ID/IDREF which tables are local to
the root of the document (the nearest that can be achieved with
key/keyref is to use the document element like shown in this example).
Am I wrong?
Thanks
Eric
> 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/
--
Pour y voir plus clair dans la nebuleuse XML...
http://dyomedea.com/formation/
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
http://xsltunit.org http://4xt.org http://examplotron.org
------------------------------------------------------------------------
Received on Wednesday, 27 June 2001 03:40:24 UTC