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 6144 - annotation on IDC with a 'ref' attribute is lost
Summary: annotation on IDC with a 'ref' attribute is lost
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL: http://www.w3.org/TR/xmlschema11-1/#d...
Whiteboard:
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2008-10-08 18:31 UTC by Khaled Noaman
Modified: 2008-10-24 17:17 UTC (History)
1 user (show)

See Also:


Attachments

Description Khaled Noaman 2008-10-08 18:31:36 UTC
According to the spec, when the ref [attribute] on an IDC is present, the corresponding schema component is the identity-constraint definition resolved to by the actual value of the ref [attribute]. What happens to the annotation child on that IDC element? Should bullet #4 in Schema Representation Constraint: Identity-constraint Definition Representation OK be changed to:
4.  If ref is present, then only id is allowed to appear together with ref.
Comment 1 David Ezell 2008-10-17 15:59:09 UTC
The WG agreed that the annotation should be rolled up to the element declaration.
Comment 2 Sandy Gao 2008-10-24 17:17:49 UTC
On 2008-10-24, the working group adopted a proposal to address this issue by
storing these annotations on the containing element declarations.

The proposal (along with changes for other bugs) can be found at (member-only):
http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni0810.html