<?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>3769</bug_id>
          
          <creation_ts>2006-09-26 06:19:50 +0000</creation_ts>
          <short_desc>fn-dateTime-28, fn-dateTime-29, fn-dateTime-30 assume empty sequence is ok</short_desc>
          <delta_ts>2006-09-26 15:29:55 +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>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Per Bothner">per</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          
          
          <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>12023</commentid>
    <comment_count>0</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-09-26 06:19:50 +0000</bug_when>
    <thetext>The tests fn-dateTime-28, fn-dateTime-29, and fn-dateTime-30 check that fn:dateTime accepts an empty sequence as as an argument.  However, that seems to contract the F&amp;O spec:

5.2 A Special Constructor Function for xs:dateTime
...
fn:dateTime($arg1 as xs:date, $arg2 as xs:time) as xs:dateTime

Note there is no &apos;?&apos; in the prototype.

Yes, the Constructor Functions defiuned in 3.12.5 in the XQuery spec have &apos;?&apos; in their types, but that does not imply a &apos;?&apos; for fn:dateTime function.  (Note that the 3.12.5 functions are in the xs namespace, as opposed to the fn namespace.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12045</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-09-26 15:06:48 +0000</bug_when>
    <thetext>Hey Per:

Thanks for the message.  The Working group recently changed the function signature (fn:dateTime) to include &quot;?&quot;.  This change will probably be reflected soon.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12047</commentid>
    <comment_count>2</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-09-26 15:07:38 +0000</bug_when>
    <thetext>Hey Per:

Thanks for the message.  The Working group recently changed the function signature (fn:dateTime) to include &quot;?&quot;.  This change will probably be reflected soon.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12051</commentid>
    <comment_count>3</comment_count>
    <who name="Per Bothner">per</who>
    <bug_when>2006-09-26 15:29:55 +0000</bug_when>
    <thetext>(In reply to comment #2)
I suspected that might be the case.  Thanks for the quick reply.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>