Bugs item #1635936, was opened at 2007-01-15 15:53 Message generated for change (Comment added) made by stmane You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1635936&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 0.14 >Status: Open Resolution: Fixed Priority: 5 Private: No Submitted By: Jens Teubner (teubner) Assigned to: Peter Boncz (boncz) Summary: PF: Predicate rewriting incorrect Initial Comment: Sorry, Peter. But you asked for it... The predicate rewrite magic in normalize.brg incorrectly rewrites the query declare namespace xx = 'http://www.w3.org/2005/xpath-functions'; let $d := <a> <b> <c x='3'>no hit</c> </b> <b> <c x='2'>no hit</c> </b> <b> <c x='1'>hit!</c> </b> </a> return $d/b/[EMAIL PROTECTED] = xx:position()] such that the predicate is bound to the entire path expression, not just the final step. The effect is a wrong query result. ---------------------------------------------------------------------- >Comment By: Stefan Manegold (stmane) Date: 2007-01-15 18:39 Message: Logged In: YES user_id=572415 Originator: NO re-opened as no test has been provided, yet ... ---------------------------------------------------------------------- Comment By: Peter Boncz (boncz) Date: 2007-01-15 17:37 Message: Logged In: YES user_id=591107 Originator: NO fixed I removed the check as I assume that at this stage of parsing we do not yet have access to bound namespaces.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1635936&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
