<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6144</bug_id>
          
          <creation_ts>2008-10-08 18:31:36 +0000</creation_ts>
          <short_desc>annotation on IDC with a &apos;ref&apos; attribute is lost</short_desc>
          <delta_ts>2008-10-24 17:17:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/xmlschema11-1/#declare-key</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khaled Noaman">knoaman</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22126</commentid>
    <comment_count>0</comment_count>
    <who name="Khaled Noaman">knoaman</who>
    <bug_when>2008-10-08 18:31:36 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22193</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2008-10-17 15:59:09 +0000</bug_when>
    <thetext>The WG agreed that the annotation should be rolled up to the element declaration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22247</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2008-10-24 17:17:49 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>