← Back to team overview

zorba-coders team mailing list archive

[Bug 1028879] [NEW] fn:collection(()) bug

 

Public bug reported:

fn:collection(()) should be the same as fn:collection().

Instead Zorba wrongly reports a type error [err:XPTY0004]: 
empty-sequence() can not be promoted to parameter type xs:string of function collection()

** Affects: zorba
     Importance: Undecided
     Assignee: Sorin Marian Nasoi (sorin.marian.nasoi)
         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/1028879

Title:
  fn:collection(()) bug

Status in Zorba - The XQuery Processor:
  New

Bug description:
  fn:collection(()) should be the same as fn:collection().

  Instead Zorba wrongly reports a type error [err:XPTY0004]: 
  empty-sequence() can not be promoted to parameter type xs:string of function collection()

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1028879/+subscriptions


Follow ups

References