Bugs item #1579510, was opened at 2006-10-18 11:08
Message generated for change (Comment added) made by boncz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1579510&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/compiler
Group: Pathfinder CVS Head
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Peter Boncz (boncz)
Assigned to: Jens Teubner (teubner)
Summary: XQ: update error for "(1,2)/." 

Initial Comment:
I am not really sure whether this is a legal xquery:

(1,2)/.

(Galax does not like it either. Both Pf and galax
accept it with elements: (<a/>,<b/>)/. )

but the PF error message is a bit confusing:

-bash-3.00$ pf t.xq
type error: illegal combination of query and update
features
# halted in
/data/home/boncz/pathfinder/compiler/semantics/typecheck.brg
(reduce), line 417

----------------------------------------------------------------------

>Comment By: Peter Boncz (boncz)
Date: 2007-05-25 02:27

Message:
Logged In: YES 
user_id=591107
Originator: YES

approved the new error message; thanks Jens!

----------------------------------------------------------------------

Comment By: Stefan Manegold (stmane)
Date: 2007-04-21 19:28

Message:
Logged In: YES 
user_id=572415
Originator: NO

Jens,

Any news on this one?

Thanks!

Stefan


----------------------------------------------------------------------

Comment By: Stefan Manegold (stmane)
Date: 2007-03-24 11:18

Message:
Logged In: YES 
user_id=572415
Originator: NO

Re-opened, as the respective test still fails:
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/update_error.SF-1579510.err.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Current/pathfinder/.mTests103/GNU.64.64.d-Fedora6/tests_BugTracker/update_error.SF-1579510.err.00.html

If the new error message 

ERROR = !warning: query will always return an error
!ERROR: err:XP0019: Argument to location step must be a node sequence.
 
is the "desired" one or at least "acceptable", please update the stable
output accordingly before closing the bug report.


----------------------------------------------------------------------

Comment By: Jens Teubner (teubner)
Date: 2007-02-20 15:26

Message:
Logged In: YES 
user_id=731390
Originator: NO

Fixed in CVS.

----------------------------------------------------------------------

Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-02-19 15:51

Message:
Logged In: YES 
user_id=43607
Originator: NO

Any news on this?

----------------------------------------------------------------------

Comment By: Stefan Manegold (stmane)
Date: 2006-11-04 17:29

Message:
Logged In: YES 
user_id=572415

test added in
pathfinder/tests/BugTracker/Tests/update_error.SF-1579510.*

correct/expected error message still pending


----------------------------------------------------------------------

Comment By: Jens Teubner (teubner)
Date: 2006-10-18 11:24

Message:
Logged In: YES 
user_id=731390

Hi Peter,

your input is illegal because the `/' operator only allows 
node sequence on its left-hand side (and not a sequence of 
integers).

The error message is indeed confusing. I will look into 
this.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1579510&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to