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

 
 

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

Submitter:  None
Submitted:  Mon 01 Mar 2010 07:28:52 AM UTC
   
 
Category:  Qexo / XQuery Severity:  3 - Normal
Item Group:  Unexpected result Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fix checked in to trunk.

Per Bothner <bothner>
Group administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-01 bothner CategoryNone Qexo / XQuery
        Item GroupNone Unexpected result
        StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code