2012-10-24 08:39:18 |
Sorin Marian Nasoi |
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. |
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()
- test set "prod-InstanceofExp", test case "instanceof131"
Here is the actual test run:
import module namespace xqxq = 'http://www.zorba-xquery.com/modules/xqxq';
variable $queryID := xqxq:prepare-main-module('xquery version ''3.0'';
declare namespace op = ''http://www.zorba-xquery.com/options/features'';
declare namespace f = ''http://www.zorba-xquery.com/features'';
declare option op:enable ''f:hof'';
name#0 instance of function(item()) as xs:string
');
xqxq:evaluate($queryID)
the importance is set to HIGH because Zorba Seg. Faults. |
|