<?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>21937</bug_id>
          
          <creation_ts>2013-05-06 15:47:46 +0000</creation_ts>
          <short_desc>WindowingUseCase test cases</short_desc>
          <delta_ts>2013-05-14 17:41:35 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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="Christian Gruen">christian.gruen</reporter>
          <assigned_to name="O&apos;Neil Delpratt">oneil</assigned_to>
          <cc>mike</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>87268</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2013-05-06 15:47:46 +0000</bug_when>
    <thetext>In the following three test cases...

- WindowingUseCase07S
- WindowingUseCase11S
- WindowingUseCase13S

...the timezones in the results are serialized in &quot;Z&quot;. I would propose to change them to &quot;-00:00&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87280</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-06 19:29:23 +0000</bug_when>
    <thetext>Why?

The rules for converting a time to a string are defined in F+O section 18.2, and it is quite clear that the UTC timezone should be represented as Z.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87281</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2013-05-06 19:33:45 +0000</bug_when>
    <thetext>True. I ignored the fact that the input of these queries is also dependent on a schema, so I would suggest adding yet another schema dependency to the test case definition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87292</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-05-06 22:30:30 +0000</bug_when>
    <thetext>I&apos;d suggest strongly that rather than wait for busy volunteers to change all the tests to add schema dependencies, you do what the rest of us are doing, which is to infer a schema dependency from the presence of a source document that needs validating.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87328</commentid>
    <comment_count>4</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2013-05-07 13:30:17 +0000</bug_when>
    <thetext>I am aware that it takes valuable time to commit the test case fixes, and I very much appreciate the work (mostly) done so far by you, O&apos;Neil, and Tim. If everyone agrees, I’ll be glad to check in obvious fixes by my own.

Regarding the validation of input documents, I observed that many test cases will yield correct results even if an attached schema is not evaluated. This is why I looked for the few remaining tests that have no explicit schema dependency. Otherwise, I believe, a test suite driver for an implementation without schema support would either have to ignore all tests that have any schema declaration included – which would be a pity – or try to evaluate a query, and check for a schema declaration if the query fails, and then assume that it failed because of schema support – which doesn’t seem too elegant. If there is another solution that I have omitted, and that is a better solution that explicit schema dependencies, feel free to tell me.

I am sorry that the additional declarations have caused quite some extra effort, but I assume that there is now hardly any test left that lack an explicit schema dependency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87671</commentid>
    <comment_count>5</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2013-05-14 17:40:59 +0000</bug_when>
    <thetext> Closed (and added a comment to #21238).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>