- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 29 Aug 2007 19:56:26 +0000
- To: public-sml@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4995 Summary: Scoping of sml identity constraints (key, keyref, unique) Product: SML Version: FPWD Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: cmsmcq@w3.org ReportedBy: sandygao@ca.ibm.com QAContact: public-sml@w3.org In schema, identity constraints are always scoped within an element (that corresponds to the element declaration with the IDC). Key/unique constraints are only checked within that scope; keyref constraints can only refer to keys in that scope. Is there analogous "scoping" for sml identity constraints? For example, can keyrefs in one instance document refer to keys in another instance document? If so, what if there are multiple occurrences of the same key constraint in other instance documents? How to tell which occurrence is used by the keyref?
Received on Wednesday, 29 August 2007 19:56:30 UTC