Bugs item #2130051, was opened at 2008-09-26 14:04
Message generated for change (Comment added) made by stmane
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2130051&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: None
>Status: Closed
Resolution: Works For Me
Priority: 8
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Wouter Alink (vzzzbx)
Summary: XQ: query compilation: item3 not found
Initial Comment:
Using the August-release.
The query below produces the following bug:
MAPI = mone...@localhost:50000
QUERY = <result> {
ERROR = !fatal error: attribute `item3' referenced in projection not found
-----------------------
<result> {
let $entries := doc("aap.xml")//entry
for $i in distinct-values($entries//docs)
return
<cluster> {
element { "name" } { $i },
let $items := $entries[docs=$i]
let $exts := for $a in $items/names/name
return substring-after($a,"a")
for $j in $exts
return <hit> {
$items/names/name[ends-with(.,$j)]
} </hit>
} </cluster>
} </result>
----------------------------------------------------------------------
>Comment By: Stefan Manegold (stmane)
Date: 2009-02-16 23:09
Message:
added test in
pathfinder/tests/BugTracker/Tests/query_compilation_item3.SF-2130051.*
appears to work fine.
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2009-02-16 14:01
Message:
re-opened to remind us that we should consider adding a test
----------------------------------------------------------------------
Comment By: Jan Rittinger (tsheyar)
Date: 2008-11-12 12:04
Message:
Closing the bug as the error does not arise in the stable branch anymore.
Wouter if you still get an error please open again.
----------------------------------------------------------------------
Comment By: Peter Boncz (boncz)
Date: 2008-11-10 22:17
Message:
most likely, improvements in the pathfinder compiler have made this problem
disappear. In that case, this bug can be closed.
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2008-10-12 01:14
Message:
Compiling the query (using both `pf -A` & `pf -M`) works fine also for me,
with the latest CVS versions of both the latest Stable release branch and
the Current development head.
Wouter,
which version are you using?
----------------------------------------------------------------------
Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-10-02 10:02
Message:
This is weird. When I compile this query (using pf), there is no "item3"
outside of comments, so I don't understand where the message comes from.
Also, I tried this with a random document, but didn't get an error. Is
the error dependent on the document you use?
Which version were you using?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2130051&group_id=56967
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs