Bugzilla – Bug 6144
annotation on IDC with a 'ref' attribute is lost
Last modified: 2008-10-24 17:17:49 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.
The WG agreed that the annotation should be rolled up to the element declaration.
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