<?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>2850</bug_id>
          
          <creation_ts>2006-02-11 01:42:37 +0000</creation_ts>
          <short_desc>RQ-15 Correct restriction of identity constraints (id-restriction)</short_desc>
          <delta_ts>2007-03-01 02:18:22 +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>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>status?, idc cluster, restriction cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>5238</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <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>8215</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-02-11 01:42:37 +0000</bug_when>
    <thetext>This issue was originally reported by Khaled Noaman/Henry S. Thompson.

Resolve the issues associated with restricting types whose elements
include identity constraints.  Specifically, (1) the rule must changed
to state that the restricted type must have a superset rather than a
subset of identity constraints, (2) the term superset must be clearly
defined, and (3) there must be a way to redefine identity constraints
in the restricted type without causing duplicate name problems.

See
http://www.w3.org/2001/05/xmlschema-rec-comments#pfiIdConsRestrict:
R-94.

Input from Straw Poll O-10

Interacts with RQ-17 (#restrictn-rules).

This item was discussed in the meeting of 2004-04-09
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Apr/0178.html).
We agreed that we would like to see the proposal written down. The
minutes say &quot;The description in the minutes may suffice as written
proposal; if not, HT will write it up.  Others to say if the minutes
are insufficient.&quot;

This item was discussed, and phase-1 agreement was reached, in the
meeting of 2004-05-13
(http://www.w3.org/XML/Group/2004/05/xml-schema-ftf-minutes.html).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8756</commentid>
    <comment_count>1</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2006-03-16 15:41:45 +0000</bug_when>
    <thetext>In the context of bringing forward a proposal for part of 2820 to the WG, this assumes increased urgency.

The required change comes as an addition to the second sub-case of the mapping rules for xs:element (file:///d:/work/1.1_xmlschema/structures/structures.html#declare-element), along the following lines:

 An element declaration as in the first case above, with the exception of its {target namespace}, {scope} and {identity-constraint definitions} properties, which are as below:

 {identity-constraint definitions} Let the *local ICDs* be A set consisting of the identity-constraint definitions corresponding to all the &lt;key&gt;, &lt;unique&gt; and &lt;keyref&gt; element information items in the [children], if any, otherwise the empty set.  Then iff the EII has &lt;complexType&gt; as an ancestor and the corresponding CTD has {derivation method} *restriction*, the union of the *local ICDs* and the *inherited ICDs*, otherwise just the *local ICDs*, where the *inherited ICDs* are the *inherited ICDs* of the corresponding Element Declaration, as defined in [3.4.6]

And we add after the definition of Particle Actually Restricts a somewhat tricky definition of the *inherited ICDs* of an ED as either the always-the-same set of ICDs found on _all_ the EDs in a base content model which ever &apos;map to&apos; that ED in its (restriction) content model, or the empty set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14288</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-03-01 02:18:22 +0000</bug_when>
    <thetext>A wording proposal to resolve this issue was adopted by the WG at its
call of 12 January 2007.  Accordingly, I&apos;m marking the issue resolved.

Henry Thompson, one of the originators, has been made aware of the
resolution of the issue through his participation in the WG; no
separate notification is being sent.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>