The problem doesn't seem to be related to plan serialization. Instead,
it's a problem with higher-order functions which are still have
experimental status.

** Changed in: zorba
    Milestone: 2.5 => None

** Tags added: hof

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  Plan Serializer test fails

Status in Zorba - The XQuery Processor:

Bug description:
  The following queries:
  declare namespace an = "";;
  declare namespace o = "";;
  declare option o:enable "hof";

  declare %private variable $handlers := ();

  declare %an:sequential function local:add($handler)
    $handlers := ($handlers, $handler);

  declare function local:emit()
    for $h in $handlers
    return $h()
  declare %an:sequential function local:test()

  declare function local:handle($message)
    trace($message, "message")


  Fails with the plan serializer (segfault)

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to