<?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>2312</bug_id>
          
          <creation_ts>2005-09-28 13:02:10 +0000</creation_ts>
          <short_desc>Definition of [node table]</short_desc>
          <delta_ts>2007-01-12 15:52:52 +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.0/1.1 both</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>important, work, idc cluster</status_whiteboard>
          <keywords>unclassified</keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kasimier Buchcik">K.Buchcik</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>sandygao</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>6525</commentid>
    <comment_count>0</comment_count>
    <who name="Kasimier Buchcik">K.Buchcik</who>
    <bug_when>2005-09-28 13:02:10 +0000</bug_when>
    <thetext>The wording of the definition for [node table] at [1] can lead to
a scenario [2], where keyrefs resolve perfectly, even if the relevant
key-sequences of the referenced key/unique have duplicates in the
subtree.
Is this intended?

[1] http://www.w3.org/TR/xmlschema-1/#d0e14060
[2] http://lists.w3.org/Archives/Public/xmlschema-dev/2005Sep/0060.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13476</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-01-12 15:52:52 +0000</bug_when>
    <thetext>The Schema WG considered this issue at its 2006-12-22 telecon, and decided to close this issue with no further action. The resolution is somewhere between &quot;invalid&quot; and &quot;wontfix&quot;.

The analysis from the email exchange is correct: &quot;the success of keyref-resolution is dependant on a specific constellation of the keys in the tree&quot;.

This can be viewed both as a feature and a bug. One can certainly argue that key values specified on the parent element *overrides* those specified on the children, which would support rules in the current spec.

This was a deliberate decision in the schema spec; it will only affect very few cases (recursive element references with key/keyref); changing it may dis-stablize the spec. The WG decided not to change the spec based on these factors.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>