From: Wolfgang M. <wol...@ex...> - 2004-08-04 15:32:26
|
Hi, yes, this seems to be a bug, but I don't know yet where to fix it. My query works if I add the "local" prefix to the variables ($local:context). And indeed, the XQuery engine seems to be confused about the default namespace, though there should be no connection... Wolfgang > Now, my question is: Is this by design? I mean, should variables be bound > to a namespace, too? More specifically, should *parameters* be bound to a > specific namespace? If so, how can I pass values from the current namespace > (or any other given one) to the function's namespace, so that variables get > bound? > > I imagine this issue arised just because I changed the default namespace - > in most examples, I don't see people doing this, although it's pretty > ordinary. I understand this can be a bug - parameter variables should not > be bound to any specific namespace, so they can be passed to any function. > > I look forward to get your opinions on this matter. > > Best regards, > Igor |