[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
xml keyref constraint
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.

Thanks
Sharon Krisher




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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.