bugKawa - Bugs: bug #29029, REPL FLWOR expects return on same...

 
 

bug #29029: REPL FLWOR expects return on same line as order by

Submitted by:  None
Submitted on:  Mon 01 Mar 2010 07:28:52 AM UTC  
 
Category: Qexo / XQuerySeverity: 3 - Normal
Item Group: Unexpected resultStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 01 Mar 2010 07:31:55 AM UTC, comment #1:

Fix checked in to trunk.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Mon 01 Mar 2010 07:28:52 AM UTC, original submission:

Using the Qexo xquery repl the following occurs with order by:
krukow:~/workspace/XQuery$ rlwrap java -jar kawa-1.9.1.jar --xquery
(: 1 :) for $r in (2,1)
(: 2f:) order by $r
(: 3 :) return $r
/dev/stdin:3:1: expected 'return' clause [XPST0003]

If the return-part is included in the same line as order by - it works:

(: 4 :) for $r in (2,1)
(: 5f:) order by $r return $r
1 2

I've been in contact with Per Bothner who has already provided a fix: so this is fixed in trunk.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bothner (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Mar 2010 07:31:55 AM UTCbothnerCategoryNone=>Qexo / XQuery
      Item GroupNone=>Unexpected result
      StatusNone=>Fixed
      Assigned toNone=>bothner
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1