← Back to team overview

zorba-coders team mailing list archive

[Bug 947130] [NEW] FOTS: generate-id tests results in Seg Fault

 

Public bug reported:

The following test from the
fn/generate-id.xml
results in a Segmentation Fault :

- "generate-id-901"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';  
let $f := function() {generate-id()} return $f()

Expected result is XPDY0002.


- "generate-id-902"
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof'; 
let $f := function($x as item()) {generate-id($x)} return $f(3)

Expected result is XPTY0004.

** Affects: zorba
     Importance: High
         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/947130

Title:
  FOTS: generate-id tests results in Seg Fault

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The following test from the
  fn/generate-id.xml
  results in a Segmentation Fault :

  - "generate-id-901"
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof';  
  let $f := function() {generate-id()} return $f()

  Expected result is XPDY0002.

  
  - "generate-id-902"
  xquery version '3.0';
  declare namespace o = 'http://www.zorba-xquery.com/options/features';
  declare option o:enable 'hof'; 
  let $f := function($x as item()) {generate-id($x)} return $f(3)

  Expected result is XPTY0004.

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


Follow ups

References