zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #10537
[Bug 932314] Re: fn:distinct-values bug
** Changed in: zorba
Importance: Medium => Critical
** Changed in: zorba
Assignee: (unassigned) => Markos Zaharioudakis (markos-za)
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/932314
Title:
fn:distinct-values bug
Status in Zorba - The XQuery Processor:
New
Bug description:
test 'fn-distinct-values-2' from FOTS:
fn:distinct-values((1 to 300, 100 to 400, 29, 145, 20 to 50, for $x in
(30 to 40) return xs:string($x), "foo", "bar"))
is failing with error:
type error [err:XPTY0004]: "xs:integer": invalid type: can not compare for equality to type "xs:string"; raised at /home/spungi/work/zorba/repo/feature_fots/src/runtime/booleans/BooleanImpl.cpp:874
This is wrong behavior according to the
http://www.w3.org/TR/xpath-functions-30/#func-distinct-values
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/932314/+subscriptions
References