Bugs item #2474519, was opened at 2008-12-29 10:27
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=2474519&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: Core
Group: MonetDB4 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John van Schie (johnvanschie)
Assigned to: Nobody/Anonymous (nobody)
Summary: Effective boolean value of sequence results in an error
Initial Comment:
We use the MonetDB Nov 2008 SP1 server supplied by the Fedora 9 RPM's.
When we execute the following query, which we believe is valid, it results in
the following error:
Query:
element result {
if (distinct-values(exactly-one(doc("bookmarks.xml"))//*)) then 1 else 2
}
Mclient output:
xquery>\</media/disk/querylog
MAPI = mone...@localhost:51240
QUERY = element result {
ERROR = !fatal error: attribute 'item' with type '0x20' not found in environment
It executes without a problem, when we rewrite the query to the following:
Query:
element result {
if (not(empty(distinct-values(exactly-one(doc("bookmarks.xml"))//*)))) then 1
else 2
}
Mclient output:
xquery>\</media/disk/querylog.workaround
<result>1</result>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2474519&group_id=56967
------------------------------------------------------------------------------
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs