The StaticContext::disableFunction function is not documented at all.
So, I have a question: it is supposed to work only for functions that
are registered in the root static context (i.e., builtin function),

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

  cannot disable two functions with the same name

Status in Zorba - The XQuery Processor:

Bug description:
  Disabling two functions (using StaticContext::disableFunction) with
  the same name but different arities is currently not possible. Only
  the first version of the function is actually disabled.

  The problem seems to be in static_context::unbind_fn where only the
  FunctionInfo for the first function is inserted into the vector.

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to