FOTS: cast tests end in Seg Fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Critical
|
Ghislain Fourny |
Bug Description
"CastAsNamespac
Here are the actual tests that are run:
"CastAsNamespac
import module namespace xqxq = 'http://
variable $queryID := xqxq:prepare-
declare namespace op = ''http://
declare namespace f = ''http://
declare option op:enable ''f:hof'';
declare function local:clarkname($q as xs:NOTATION) as xs:string {
$q
};
local:
');
xqxq:evaluate(
"CastAsNamespac
import module namespace xqxq = 'http://
variable $queryID := xqxq:prepare-
declare namespace op = ''http://
declare namespace f = ''http://
declare option op:enable ''f:hof'';
declare function local:clarkname($q as xs:NOTATION) as xs:string {
$q
};
local:
');
xqxq:evaluate(
Related branches
- Sorin Marian Nasoi: Approve
- Markos Zaharioudakis: Approve
-
Diff: 102 lines (+31/-31)1 file modifiedsrc/types/casting.cpp (+31/-31)
tags: |
added: fots-seg-fault removed: fots |
Changed in zorba: | |
importance: | Undecided → Critical |
milestone: | none → 2.8 |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
It seems to be a typo in the casting code (confusion between type code and type itself in the ErrorInfo object).