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)
The following HOF tests in misc/HigherOrde rFunctions. xml from FOTS result in a Segmentation Fault: www.zorba- xquery. com/options/ features';
- "xqhof7"
xquery version '3.0';
declare namespace o = 'http://
declare option o:enable 'hof';
concat#3("one", "two")
- "xqhof13" www.zorba- xquery. com/options/ features';
xquery version '3.0';
declare namespace o = 'http://
declare option o:enable 'hof';
let $f := function($a) { node-name(.), $a }
return <a/>/$f(5)
- "xqhof14" www.zorba- xquery. com/options/ features';
xquery version '3.0';
declare namespace o = 'http://
declare option o:enable 'hof';
let $f := name#0
return <a/>/$f()
the importance is set to HIGH because Zorba Seg. Faults.