Bugs item #2130051, was opened at 2008-09-26 14:04
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=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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: query compilation: item3 not found

Initial Comment:
Using the August-release.

The query below produces the following bug:

MAPI  = [EMAIL PROTECTED]: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>

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

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to