** Changed in: zorba
       Status: New => Fix Committed

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

  undeclared variable in built-in module if called through invoke

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  [err:XPDY0002]: "r:foo": undeclared variable is raised for the
  following scenario.

  A built-in module such as random declares a variable as follows:

  declare variable $r:foo := 1;

  A library module foo declares a variable and accesses $r:foo in a function.

  module namespace foo = "http://foo.com/";;

  import module namespace r = 'http://www.zorba-

  declare variable $foo:blub := 1;

  declare function foo:bar()

  A main module imports the library module foo and invokes the function 

  import module namespace invoke = 
  import module namespace foo = "http://foo.com/"; at 

  invoke:invoke-s ( fn:QName ( 'http://foo.com/', 'bar' ) )

To manage notifications about this bug go to:

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