Bugs item #2716743, was opened at 2009-03-27 12:01
Message generated for change (Tracker Item Submitted) made by vzzzbx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2716743&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: MonetDB4 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: PF: pf:string-value missing
Initial Comment:
The following error occurs for the query below:
$ ~/opt/MonetDB-Feb2009/bin/pf ../bugs/no_string_value_implementation.xq
fatal error: Algebra implementation for function `#pf:string-value' is missing.
What I tried:
- specify the return type of the function: "as node()*" (which does not work)
- specify the return type of the function: "as element()*" (which works fine)
- inline the function in the query "let $items := $patents//country" (works
fine too)
----------------------------------
declare function do($nodes as node()*) {
$nodes//country
};
let $countries := ("NL","DE","UK")
let $patents := (<entry><country>NL</country></entry>,
<entry><country>DE</country></entry>)
let $items := do($patents)
for $i at $k in $items
let $country := $countries[. = $i]
return element { "entry" } { $i, $country }
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2716743&group_id=56967
------------------------------------------------------------------------------
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs