This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2833 - RQ-33 Add key constraints based on element types (keys-constraints)
Summary: RQ-33 Add key constraints based on element types (keys-constraints)
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: Other All
: P4 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: medium, hard, idc cluster
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2006-02-11 00:58 UTC by C. M. Sperberg-McQueen
Modified: 2007-05-01 23:24 UTC (History)
0 users

See Also:


Attachments

Description C. M. Sperberg-McQueen 2006-02-11 00:58:00 UTC
This issue was originally reported by Jane Hunter (MPEG-7).

Key constraints to restrict which element types can be pointed to:
Allow a schema author use key constaints to specify that a value
(which otherwise behaves like an SGML or XML ID) is restricted to
pointing at one (or more) particular element type(s)?

See (member-only link)
http://www.w3.org/XML/Group/xmlschema-current/lcissues.html#typed-refs
(http://www.w3.org/XML/Group/xmlschema-current/lcissues.html#typed-refs)
: LC-151.

Input from Straw Poll O-10

Discussion at
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0127.html
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0129.html
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0131.html
Comment 1 David Ezell 2007-03-28 18:31:57 UTC
WG discussed on 2007-03-28 f2f, resulting in the realization that the existing IDC mechanism actually fulfills the stated use case.

Closing as FIXED.
Comment 2 C. M. Sperberg-McQueen 2007-05-01 23:24:16 UTC
This issue was first raised by Jane Hunter, then of DSTC Pty in 
Brisbane.  A response has been sent to her (at a new email
address); a copy may be found at 

http://lists.w3.org/Archives/Public/www-xml-schema-comments/2007AprJun/0048.html