Public bug reported: The following query: declare function local:foo(){ let $x := <msg>breakfast of champions</msg> return $x contains text "meal" using thesaurus at "/Users/wcandillon/demo/wordnet-en.zth" relationship "narrower term" };
local:foo() Returns: Zorba error [zerr:ZXQP0003]: internal error: clone() not implemented for expression; raised at /Users/wcandillon/28msec/zorba/sandbox/src/compiler/rewriter/rules/fold_rules.cpp:1106 However the following query: let $x := <msg>breakfast of champions</msg> return $x contains text "meal" using thesaurus at "/Users/wcandillon/demo/wordnet-en.zth" relationship "narrower term" Works fine. ** Affects: zorba Importance: Critical Assignee: Matthias Brantner (matthias-brantner) Status: New ** Changed in: zorba Milestone: None => 2.2 ** Changed in: zorba Assignee: (unassigned) => Matthias Brantner (matthias-brantner) ** Changed in: zorba Importance: Undecided => Critical -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/923015 Title: internal error: clone() not implemented for expression Status in Zorba - The XQuery Processor: New Bug description: The following query: declare function local:foo(){ let $x := <msg>breakfast of champions</msg> return $x contains text "meal" using thesaurus at "/Users/wcandillon/demo/wordnet-en.zth" relationship "narrower term" }; local:foo() Returns: Zorba error [zerr:ZXQP0003]: internal error: clone() not implemented for expression; raised at /Users/wcandillon/28msec/zorba/sandbox/src/compiler/rewriter/rules/fold_rules.cpp:1106 However the following query: let $x := <msg>breakfast of champions</msg> return $x contains text "meal" using thesaurus at "/Users/wcandillon/demo/wordnet-en.zth" relationship "narrower term" Works fine. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/923015/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp