Public bug reported:

The following HOF tests in misc/HigherOrderFunctions.xml from FOTS result in a 
Segmentation Fault:
- "xqhof7"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';  
concat#3("one", "two")

- "xqhof13"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';  
let $f := function($a) { node-name(.), $a }
return <a/>/$f(5)

- "xqhof14"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';  
let $f := name#0
return <a/>/$f()
      
      
the importance is set to HIGH because Zorba Seg. Faults.

** Affects: zorba
     Importance: High
     Assignee: Nicolae Brinza (nbrinza)
         Status: New


** Tags: fots

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

Title:
  FOTS: HOF tests Seg Fault

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following HOF tests in misc/HigherOrderFunctions.xml from FOTS result in 
a Segmentation Fault:
  - "xqhof7"
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
  concat#3("one", "two")

  - "xqhof13"
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
  let $f := function($a) { node-name(.), $a }
  return <a/>/$f(5)

  - "xqhof14"
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
  let $f := name#0
  return <a/>/$f()
        
        
  the importance is set to HIGH because Zorba Seg. Faults.

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