<?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>7647</bug_id>
          
          <creation_ts>2009-09-16 10:38:46 +0000</creation_ts>
          <short_desc>Tests K-GenCompEq-60 et seq</short_desc>
          <delta_ts>2009-10-28 10:21:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></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="Sorin Nasoi">spungi</assigned_to>
          <cc>frans.englich</cc>
    
    <cc>nick</cc>
    
    <cc>spungi</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27229</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-09-16 10:38:46 +0000</bug_when>
    <thetext>The newly committed tests K-GenCompEq-60 to K-GenCompEq-68 are apparently designed to test resolution of bug 5223. The naming of the tests and their intended purpose suggests that they should be using the &quot;=&quot; operator rather than &quot;eq&quot;. As currently written, they produce type errors (XPTY0004).

Furthermore, none of the tests (after this change is made) actually tests whether or not the implementation has fixed bug 5223. An example of a proper test for this situation would be

xs:untypedAtomic(&quot;1&quot;) = xs:NCName(&quot;Sorin&quot;)

where casting the untyped atomic value to the base type of the other operand (xs:string) would succeed, but casting it to the actual type of the other operand (xs:NCName) would fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28307</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2009-10-13 14:46:06 +0000</bug_when>
    <thetext>Another thing: feel free to not prefix tests with K- or K2-, those are tests originating from KDE(or me, to be specific).


Frans
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29167</commentid>
    <comment_count>2</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2009-10-28 10:21:26 +0000</bug_when>
    <thetext>Just made a commit to fix both reported problems (related to the content and also the name of the tests).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>