Bugs item #1751684, was opened at 2007-07-11 07:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1751684&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: None
Group: Pathfinder 0.18
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: thijs (thijswes)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: merged_union error with fn:sum()

Initial Comment:
fn:sum() causes a merged_union error on some data. I could not pinpoint the 
exact pre-conditions for this error to occur, but the following simple query 
(on the attached small document) fails:

let $res := doc("/....../tmp.xml")
for $f in distinct-values(data($res//@id))
  return ($f,fn:sum($res//[EMAIL PROTECTED]/@score))


The same query with a fn:count instead of a fn:sum does not fail and produces 
the expected output.

I tried the query on the X.18 release.
My environment:
FC6
gcc 4.1.1, 
flex version 2.5.4
bison (GNU Bison) 2.3
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9.6
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1751684&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