← Back to team overview

zorba-coders team mailing list archive

[Bug 923015] Re: clone() not implemented for full-text expressions

 

** Changed in: zorba
       Status: In Progress => Fix Committed

-- 
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:
  clone() not implemented for full-text expressions

Status in Zorba - The XQuery Processor:
  Fix Committed

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


References