Bugs item #1905252, was opened at 2008-03-01 12:36
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1905252&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: Lefteris Sidirourgos (lsidir)
Assigned to: Lefteris Sidirourgos (lsidir)
Summary: PF algebra does not compute correct output for fn:substring

Initial Comment:
The algebra implementation of functions fn:substring(str,dbl) and 
fn:substring(str,dbl,dbl) is not correct. First, the double values must be 
round up to the closest integer and second, the XQuery function spec states 
that the first position of a string is 1 and not 0, however the MIL function 
string() starts from 0.

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

>Comment By: Stefan Manegold (stmane)
Date: 2008-03-01 15:00

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

Let's document that this one was fixed in the development trunk, only ...


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

Comment By: Lefteris Sidirourgos (lsidir)
Date: 2008-03-01 12:51

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

A fix has been committed. No tests are needed to be added since there are
already enough tests for substring that were failing until now.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to