<?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>11681</bug_id>
          
          <creation_ts>2011-01-06 17:14:03 +0000</creation_ts>
          <short_desc>semantics of non-deterministic expressions</short_desc>
          <delta_ts>2011-02-05 22:28:31 +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.0</component>
          <version>Member-only Editors Drafts</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>Mac System 9.x</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="Daniela Florescu">dflorescu</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>andrew.eisenberg</cc>
    
    <cc>chillery-w3cbugs</cc>
    
    <cc>jim.melton</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>43864</commentid>
    <comment_count>0</comment_count>
    <who name="Daniela Florescu">dflorescu</who>
    <bug_when>2011-01-06 17:14:03 +0000</bug_when>
    <thetext>While discussing bug 
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11352
during the discussion the following question was raised.

What is the semantics in XQuery 3.0 of the following program:
==

declare %nondeterministic function read-line() as xs:string external;

(read-line(), read-line(), read-line)

==
Are we guaranteed to read the lines in order, or not ?

In other words, does XQuery 3.0 impose an order of execution of subexpressions ?

I think determining the answer to this question is a pre-requisite
to solving bug #11352.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44056</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Eisenberg">andrew.eisenberg</who>
    <bug_when>2011-01-10 23:38:18 +0000</bug_when>
    <thetext>In XQuery 3.0, 2.3.4 Errors and Optimization, we say:

&quot;An implementation is always free to evaluate the operands of an operator in any order.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45150</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2011-02-05 22:28:08 +0000</bug_when>
    <thetext>This bug was resolved by the action taken in Bugzilla Bug #11352.  As a result, I have marked it RESOLVED/FIXED.  Because you were present for the discussion and agreed, I&apos;m also marking it CLOSED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>