<?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>4063</bug_id>
          
          <creation_ts>2006-12-10 00:18:14 +0000</creation_ts>
          <short_desc>IdentityConstraint test idZ015: anySimpleType</short_desc>
          <delta_ts>2008-11-11 16:40:45 +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>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>metadata update confirmed 2008-11-11</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>13124</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-10 00:18:14 +0000</bug_when>
    <thetext>In the Microsoft IdentityConstraint test set, test idZ015, the value of the field selector is a node that (as a result of matching an anyAttribute wildcard) has type xs:anySimpleType.

The author of the test appears to have concluded that the instance document is therefore invalid. I don&apos;t see how this can be inferred from the spec. The spec says that every datatype (presumably including xs:anySimpleType) has a value space, and has an equals() operator; the semantics of the equals() operator in this case are not clearly spelt out, but this test could only fail if the equality relation were undefined, which it isn&apos;t.

Unless I&apos;ve missed a rule that the test author is relying on, the WG needs to provide clarification of this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13768</commentid>
    <comment_count>1</comment_count>
    <who name="Zafar Abbas">zafara</who>
    <bug_when>2007-01-22 22:10:18 +0000</bug_when>
    <thetext>This test is marked invalid for the exact reason that the behavior of equals() is undefined in the case of xs:anySimpleType, instead of making a guess and going with it, it was considered best by the Microsoft interpretation of the spec and its implementation to error in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20726</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-22 14:29:50 +0000</bug_when>
    <thetext>
In 1.0 we can argue that because the attribute is skipped, it has no type, therefore it does not &quot;have a simple type&quot;, therefore it is invalid. (Assuming this phrase means &quot;has a governing type definition that is a simple type&quot;.) Added a comment to bug #5780 which affects the same text in the spec.

Noted that in 1.1 the definition &quot;Call the sequence of the [schema actual value]s of the element and/or attribute information items in those node-sets in order the key-sequence of the node.&quot; is less than clear. (a) &quot;those node-sets&quot; are actually node sequences, and (b) the idea is that they DONT include the skipped nodes. So in 1.1 the target node-set contains the foo element, this node-set contains a node for which the XPath expression selects no (unskipped) nodes, and this makes the qualified node-set empty.

Another 1.1 concern here is the term &quot;skipped&quot;, which means &quot;attributed to a skip wildcard&quot;. Can we determine this from PSVI properties? Answer: yes, the PSVI property &quot;attribute attribution&quot; tells us.

Under both definitions we have come to the conclusion that the instance is indeed invalid. Therefore no change to the test suite is required (except that a comment referring to this explanation would be helpful!)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>