<?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>4061</bug_id>
          
          <creation_ts>2006-12-10 00:00:35 +0000</creation_ts>
          <short_desc>IdentityConstraint test idL100: field selects more than one node</short_desc>
          <delta_ts>2009-01-13 22:32:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>metadata updated 2009-01-13</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13122</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-10 00:00:35 +0000</bug_when>
    <thetext>In the Microsoft IdentityConstraint test set, test idL100, the schema has:

		&lt;xs:key id=&quot;foo123&quot; name=&quot;tableu&quot;&gt;
			&lt;xs:selector xpath=&quot;.//myNS:t | .//myNS:u&quot;/&gt;
			&lt;xs:field xpath=&quot;@*&quot;/&gt;
		&lt;/xs:key&gt;

and the instance has:

&lt;myNS:t myNS:row=&quot;1&quot; xsi:nil=&quot;true&quot;/&gt;

The field selector @* therefore selects two attributes, which makes it invalid.

The test is described as valid. Perhaps there is some theory that the XPath expression will not select the xsi:nil attribute. I can&apos;t find any justification for this theory, however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13829</commentid>
    <comment_count>1</comment_count>
    <who name="Zafar Abbas">zafara</who>
    <bug_when>2007-01-29 22:12:10 +0000</bug_when>
    <thetext>This issue in the test suite in due to a corresponding issue in the Microsoft
Schema processors where attributes from the xsi namespaces are not counted towards the node-set members while resolving key-refs. We need clarification from the WG if such attributes should be counted or not.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20703</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-21 16:56:05 +0000</bug_when>
    <thetext>We think the spec is clear in this case and the instance is therefore invalid. Decided to leave the test as it is and change the expected result.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>