> Because some w3c tests started failing. See
> http://zorbatest.lambda.nu:8080/remotequeue/feature-
> multiple_function_lookup-2013-03-26T00-48-46.551Z/log.html.
> The way I see it is that each static context has a set of default namespaces.
> A lookup never goes to the parent. When cloning a static context, the default
> namespaces will be copied as well. The user can modify only the current static
> context either using the c++ api or the prolog declaration.
> Does this make sense?

In the current implementation, the default default namespaces are not copied 
from the parent to the child. If they were copied, then the same w3c tests 
would fail as well. And given that no copying is done, I still think that the 
new version of lookup_fn is wrong. Can you try to write a test where you 
declare a default function namespace and then try to also call an fn function 
without using the fn prefix? I suspect it will fail.

Also, why did you remove the declaration from dataguide1.jq? Is it because 
namespace declarations are not allowed in jsoniq mode any more?
Your team Zorba Coders is subscribed to branch lp:zorba.

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

Reply via email to