W3C home > Mailing lists > Public > public-sml@w3.org > July 2007

[Bug 4617] SML Schema: The refer attribute in sml:keyref should be optional

From: <bugzilla@wiggum.w3.org>
Date: Thu, 05 Jul 2007 14:21:09 +0000
To: public-sml@w3.org
Message-Id: <E1I6SCj-0008Hx-A1@wiggum.w3.org>


------- Comment #3 from sandygao@ca.ibm.com  2007-07-05 14:21 -------
If an element declaration E1 for the name "e" appears in a complex type D, who
is a restriction of B, and B also includes an element declaration E2 for "e",
then schema requires that E1's {identity constraints} is a superset of that of
E2. If one can't reuse identity constraints (by having a "ref" attribute), as
soon as B includes a local E2 with IDCs, it's not possible to restrict B.

Schema 1.0 had this problem, which makes restriction hard to use. Schema 1.1
will introduce an "ref" attribute on key/keyref/unique, so that E1 can now
reuse E2's identity constraints, to satisfy the constraint mentioned above.

The proposed change to SML was motivated by the schema 1.1 direction.
Received on Thursday, 5 July 2007 14:21:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:24:15 UTC