Public bug reported:

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

** Affects: zorba
     Importance: Medium
         Status: New

-- 
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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to