zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #04856
[Bug 867199] Re: Segmentation fault with function item which accesses focus
Here is another example (from FOTS), test 'context-item-1' from
boolean.xml :
xquery version '3.0';
declare namespace o = 'http://www.zorba-xquery.com/options/features';
declare option o:enable 'hof';
let $f := function() { fn:boolean(.) } return $f()
<?xml version="1.0" encoding="UTF-8"?>
Segmentation fault (core dumped)
The correct result, in this case would be to raise
http://www.w3.org/TR/xquery-30/#ERRXPDY0002
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867199
Title:
Segmentation fault with function item which accesses focus
Status in Zorba - The XQuery Processor:
Unknown
Bug description:
This expression causes a segmentation fault.
declare namespace o = "http://www.zorba-xquery.com/options/features";
declare option o:enable "hof";
let $f := function() { . }
return $f()
<?xml version="1.0" encoding="UTF-8"?>
Segmentation fault
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867199/+subscriptions