<?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>9090</bug_id>
          
          <creation_ts>2010-02-19 19:35:38 +0000</creation_ts>
          <short_desc>missing expected result files</short_desc>
          <delta_ts>2010-03-29 16:03:38 +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 XP</op_sys>
          <bug_status>CLOSED</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="Andrew Eisenberg">andrew.eisenberg</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>mike</cc>
    
    <cc>oliver</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>32453</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-02-19 19:35:38 +0000</bug_when>
    <thetext>The following expected result files are missing:

TestSuiteStagingArea/ExpectedTestResults/ErrorsAndOptimization/errors-and-optimization-1.txt

TestSuiteStagingArea/ExpectedTestResults/ErrorsAndOptimization/errors-and-optimization-3.txt

Please note that our expected result files and our queries are in a different directory trees.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32455</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2010-02-19 20:45:36 +0000</bug_when>
    <thetext>I have moved the files to that directory and checked them in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32588</commentid>
    <comment_count>2</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-02-23 16:28:55 +0000</bug_when>
    <thetext>I&apos;m still not seeing these files.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33650</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2010-03-17 15:53:25 +0000</bug_when>
    <thetext>errors-and-optimization-1.txt has been checked in, but errors-and-optimization-3.txt still seems to be missing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33944</commentid>
    <comment_count>4</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-03-26 15:30:56 +0000</bug_when>
    <thetext>I now see errors-and-optimization-3.txt, which contains &quot;false&quot;, but this is not the correct result for the query:

let $N :=  &lt;n x=&quot;this ain&apos;t no date&quot;/&gt;
return $N[if (@x castable as xs:date)
   then xs:date(@x) gt xs:date(&quot;2000-01-01&quot;)
   else false()]
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33948</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2010-03-26 17:03:31 +0000</bug_when>
    <thetext>I changed the results file to an empty file (is that the right way to represent an empty sequence in the results?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33951</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-03-26 17:50:10 +0000</bug_when>
    <thetext>If the expected result is an empty sequence, it&apos;s generally clearer to wrap a call of count() around it and publish an expected result of &quot;0&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34083</commentid>
    <comment_count>7</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2010-03-29 16:03:21 +0000</bug_when>
    <thetext>I see that you&apos;ve followed Mike&apos;s suggestion in Comment #6.

I&apos;ve removed the trailing CR from your result file.

This test case now passes for me.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>