fn:distinct-values bug

Bug #932314 reported by Sorin Marian Nasoi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
High
Markos Zaharioudakis

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

Changed in zorba:
importance: Medium → Critical
assignee: nobody → Markos Zaharioudakis (markos-za)
Changed in zorba:
milestone: none → 3.0
Changed in zorba:
milestone: 3.0 → 2.7
Changed in zorba:
importance: Critical → High
Changed in zorba:
status: New → In Progress
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
milestone: 2.7 → 2.6
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.