Hi Markos,
works-mod.xml is the context item for this query.

Running the query in Zorba and assigning the context item results in the 
correct error case:
type error [err:XPTY0004]: singleton expected

However, if the same exact results in a SEG FAULT when run with the Zorba FOTS 
driver.
I am reassigning the bug to me for further investigation.

** Attachment added: "works-mod.xml"
   
https://bugs.launchpad.net/zorba/+bug/947079/+attachment/3088670/+files/works-mod.xml

** Changed in: zorba
     Assignee: Markos Zaharioudakis (markos-za) => Sorin Marian Nasoi 
(sorin.marian.nasoi)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/947079

Title:
  FOTS: GroupBy test results in Seg Fault

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following test from the
  prod/GroupByClause.xml
  results in a Segmentation Fault :

  - "group-005"
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
    for $x in //employee 
    let $key := $x/hours 
    group by $key 
    return <group hours="{$key}" avHours="{avg($x/hours)}"/>

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/947079/+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