Matthias Brantner has proposed merging 
lp:~zorba-coders/zorba/feature-multiple_function_lookup into lp:zorba.

Commit message:
multiple default function namespaces in xquery mode

Requested reviews:
  Matthias Brantner (matthias-brantner)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/feature-multiple_function_lookup/+merge/155382
-- 
https://code.launchpad.net/~zorba-coders/zorba/feature-multiple_function_lookup/+merge/155382
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/context/static_context.cpp'
--- src/context/static_context.cpp	2013-03-22 00:49:51 +0000
+++ src/context/static_context.cpp	2013-03-26 00:41:23 +0000
@@ -2599,7 +2599,7 @@
     
     f = lookup_fn(qnameItem, arity, true);
   }
-  else if (language_kind() == StaticContextConsts::language_kind_jsoniq)
+  else /* if (language_kind() == StaticContextConsts::language_kind_jsoniq) */
   {
     static_context* sctx = this;
 
@@ -2617,12 +2617,14 @@
       sctx = sctx->theParent;
     }
   }
+#if 0
   else
   {
     expand_qname(qnameItem, default_function_ns(), pre, local, loc);
     
     f = lookup_fn(qnameItem, arity, true);
   }
+#endif
 
   return f;
 }

-- 
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