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

Re: keyRef scope and Xerces Parser !?

From: Eric van der Vlist <vdv@dyomedea.com>
Date: Wed, 27 Jun 2001 09:44:34 +0200
Message-ID: <3B398EE2.26D254C4@dyomedea.com>
To: "Henry S. Thompson" <ht@cogsci.ed.ac.uk>, Uwe Zeise <uwezeise@yahoo.de>, xmlschema-dev@w3.org
Eric van der Vlist wrote:
> 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.

Actually, this is a point noted as ambiguous by Xerces-J [1]:

"We have interpreted the specs as requiring <keyref> Identity
Constraints to refer to <key> or <unique> identity constraints within
the scope of the elements to which the <keyref> is attached. This
interpretation is at variance with the Schema Primer, which contains an
example with a <keyref> declared on an element used inside the element
of its corresponding <key>;" 

[1] http://xml.apache.org/xerces-j/schema.html

Pour y voir plus clair dans la nebuleuse XML...
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:44:38 UTC

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