<?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>2287</bug_id>
          
          <creation_ts>2005-09-22 13:39:20 +0000</creation_ts>
          <short_desc>[xqueryx] forclause and letclause</short_desc>
          <delta_ts>2005-09-29 10:30:47 +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>XQueryX 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="David Carlisle">davidc</reporter>
          <assigned_to name="Jim Melton">jim.melton</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>6410</commentid>
    <comment_count>0</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2005-09-22 13:39:21 +0000</bug_when>
    <thetext>The XQuery concrete syntax allows multiple for (or similarly let) bindings in a
FLWOR expression to be separated by either &quot;for&quot; or &quot;,&quot; however there is no
semantic distinction between these two cases. In Xquery you need to use &quot;for&quot;
rather than &quot;,&quot; for the first binding, and the for the first binding
after a let, but in XQueryX even this distinction is not required as the
named elements remove any ambiguity anyway.

I think that the schema can be simplified (and improved) by dropping
forClauseItem and letClauseItem and instead using these definitions as the
definitions of forClause and letClause.

David</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6581</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2005-09-29 09:30:50 +0000</bug_when>
    <thetext>The Working Group discussed this comment and explored several factors.  We
finally concluded that we do not wish to limit the &quot;coding style&quot; that XQueryX
generators are permitted to use.  While recognizing that the two styles are
semantically equivalent, we also recognize that the authors of some XQueryX
generators will prefer to use the comma-separated style and others to use the
for-separated style.  Thus, the WG declines to adopt the proposed change. 

Please let us know if you agree with this resolution of your issue, by adding a
comment to the issue record and changing the Status of the issue to Closed. Or,
if you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG&apos;s decision to the Director, then also change the
Status of the record to Reopened. If you wish to record your dissent, but do not
wish to appeal the decision to the Director, then change the Status of the
record to Closed. If we do not hear from you in the next two weeks, we will
assume you agree with the WG decision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6592</commentid>
    <comment_count>2</comment_count>
    <who name="David Carlisle">davidc</who>
    <bug_when>2005-09-29 10:30:47 +0000</bug_when>
    <thetext>
&gt;  we do not wish to limit the &quot;coding style&quot; 

I read that after I wrote my closing comments for bug 2262, and as you will see
they accurately predicted this outcome.

I disagree with that wish (and so with the outcome of this report) but for
reasons outlined in 2262 I am closing this report without formal objection.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>