W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2004

Understanding keyref constraints in XML Schema

From: Sharon Krisher <sharonkr@netvision.net.il>
Date: Thu, 02 Dec 2004 21:46:47 +0200
To: xmlschema-dev@w3.org
Cc: Oded Shmueli <oshmu@cs.Technion.AC.IL>
Message-id: <004f01c4d8a7$b20d2340$2bd316ac@sharon>
Hello all.
I've been reading XML Schema Part 1 - Structures, and trying to understand the semantics of keys and keyrefs, and the rules by which documents are validated with respect to these constraints.. Specifically: given definitions of a key and a keyref, and a node in a document, I want to know which nodes are considered to be referencing it (according to the keyref). In the attached pdf file I've summarized the conclusions I've reached regarding keyref references in XML Schema. Since the standard (http://www.w3.org/TR/xmlschema-1/#cvc-identity-constraint) is not very clear, I don't know whether my observations are correct. I'd appreciate any comments regarding the attached document.

Sharon Krisher

Received on Thursday, 2 December 2004 20:03:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:07 UTC