Bugs item #1590523, was opened at 2006-11-04 16:11
Message generated for change (Comment added) made by nielsnes
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1590523&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/runtime
Group: Pathfinder CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Peter Boncz (boncz)
Summary: XQ: substring-after
Initial Comment:
fn:substring-after("abcdef","x")
should return "" according to the specs, but instead it
returns the whole string "abcdef".
(bug seems to appear in both 0.12.1 as 0.13.1).
see:
http://www.w3.org/TR/xquery-operators/#func-substring-after
----------------------------------------------------------------------
>Comment By: Niels Nes (nielsnes)
Date: 2007-02-20 08:10
Message:
Logged In: YES
user_id=43556
Originator: NO
The locate proc is used by sql for the implementation of POSITION(str in
str) which should return 0 on errors, ie locate works just fine.
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-02-19 14:44
Message:
Logged In: YES
user_id=43607
Originator: NO
The bug is triggered by the implementation of the MIL proc locate which
returns 0 on error which is not distinguishable from a match at the start
of the string.
Assigning to Peter to decide whether locate (in module str) should be
changed.
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2006-11-05 17:40
Message:
Logged In: YES
user_id=572415
test added in
pathfinder/tests/BugTracker/Tests/substring-after.SF-1590523.xq
fails as reported
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1590523&group_id=56967
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs