<?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>21263</bug_id>
          
          <creation_ts>2013-03-13 00:42:50 +0000</creation_ts>
          <short_desc>missing XSD 1.0 dependency or alternate result for XSD 1.1</short_desc>
          <delta_ts>2013-04-09 11:32:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>XQuery 3 &amp; XPath 3 Test Suite</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Sorin Nasoi">spungi</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>mike</cc>
    
    <cc>tim</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>84322</commentid>
    <comment_count>0</comment_count>
    <who name="Sorin Nasoi">spungi</who>
    <bug_when>2013-03-13 00:42:50 +0000</bug_when>
    <thetext>The test cases:
&quot;K2-SeqExprCast-231&quot; and &quot;K2-SeqExprCast-232&quot; from &quot;prod-CastExpr&quot; are missing XSD 1.0 dependency or alternate result for XSD 1.1:

&lt;test-case name=&quot;K2-SeqExprCast-231&quot;&gt;
 &lt;description&gt; &apos;+INF&apos; is not a valid value for xs:double.&lt;/description&gt;
 &lt;created by=&quot;Frans Englich&quot; on=&quot;2007-11-26&quot;/&gt;
 &lt;test&gt;xs:double(&quot;+INF&quot;)&lt;/test&gt;
 &lt;result&gt;
  &lt;error code=&quot;FORG0001&quot;/&gt;
 &lt;/result&gt;
&lt;/test-case&gt;

&lt;test-case name=&quot;K2-SeqExprCast-232&quot;&gt;
 &lt;description&gt; &apos;+INF&apos; is not a valid value for xs:float.&lt;/description&gt;
 &lt;created by=&quot;Frans Englich&quot; on=&quot;2007-11-26&quot;/&gt;
 &lt;test&gt;xs:float(&quot;+INF&quot;)&lt;/test&gt;
 &lt;result&gt;
  &lt;error code=&quot;FORG0001&quot;/&gt;
 &lt;/result&gt;
&lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84736</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-03-20 13:12:29 +0000</bug_when>
    <thetext>I have applied fixes to the test-cases specified. Specifically created two versions of the test-cases with xsd-version 1.0 and 1.1 dependencies, respectively. I am inclined to believe there might be more test-cases like these which also require the same fixes. I will look into this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84766</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2013-03-21 10:34:21 +0000</bug_when>
    <thetext>O&apos;Neil - it appears you&apos;ve missed out the &lt;dependency&gt; tags.  Also, the description doesn&apos;t reflect the test. e.g.

t-case name=&quot;K2-SeqExprCast-232&quot;&gt;
      &lt;description&gt; &apos;+INF&apos; is not a valid value for xs:float.&lt;/description&gt;
      &lt;created by=&quot;Frans Englich&quot; on=&quot;2007-11-26&quot;/&gt;
      &lt;modified by=&quot;O&apos;Neil Delpratt&quot; on=&quot;2013-03-20&quot; change=&quot;Bug fix for #21263 - added the dependency xsd-version 1.0&quot; /&gt;
      &lt;test&gt;xs:float(&quot;+INF&quot;)&lt;/test&gt;
      &lt;result&gt;
         &lt;error code=&quot;FORG0001&quot;/&gt;
      &lt;/result&gt;
   &lt;/test-case&gt;


    &lt;test-case name=&quot;K2-SeqExprCast-232a&quot;&gt;
      &lt;description&gt;Test dervided &apos;+INF&apos; is not a valid value for xs:float.&lt;/description&gt;
      &lt;created by=&quot;Frans Englich&quot; on=&quot;2007-11-26&quot;/&gt;
      &lt;test&gt;xs:float(&quot;+INF&quot;)&lt;/test&gt;
      &lt;result&gt;
        &lt;assert-eq&gt;+INF&lt;/assert-eq&gt;
      &lt;/result&gt;
    &lt;/test-case&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84769</commentid>
    <comment_count>3</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-03-21 11:13:33 +0000</bug_when>
    <thetext>Thanks Tim. Bug now fixed and committed to cvs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85784</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-04-09 11:32:45 +0000</bug_when>
    <thetext>The fix is incorrect. The value of &lt;assert-eq&gt; must be a valid XPath expression, but +INF is not. Changing to use assert-string-value.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>