Duplicate declaration of static variable

Monday, 14 May 2018 · 2 messages
AM
Andreas Mixich14 May 2018 21:12 #
Hi, when loading my RESTXQ app I get this: Stopped at C:/Users/dev/.jetty/webapps/basex/fwdev/lib/account.xqm, 20/18: [XQST0049] Duplicate declaration of static variable $acc:last-visited.
  dev@mambo ~/.jetty/webapps/basex
  $ grep -R --include="*.*" "\$acc\:last-visited" .
  ./fwdev/lib/account.xqm:declare variable $acc:last-visited as
xs:dateTime? external := ();
As it seems, there is no other declaration of the variable in the whole project. What could that be?
-- Goody Bye, Minden jót, Mit freundlichen Grüßen, Andreas Mixich
CG
Christian Grün14 May 2018 21:14 #
Hi Andreas, Could you possibly provide us with a little, self-contained example that will help us to reproduce the issue? Thanks in advance, Christian
Quoted text · Andreas Mixich · 20 lines
On Mon, May 14, 2018 at 9:12 PM, Andreas Mixich <mixich.andreas at gmail.com> wrote: > Hi, > > when loading my RESTXQ app I get this: > > Stopped at C:/Users/dev/.jetty/webapps/basex/fwdev/lib/account.xqm, 20/18: > [XQST0049] Duplicate declaration of static variable $acc:last-visited. > > dev@mambo ~/.jetty/webapps/basex > $ grep -R --include="*.*" "\$acc\:last-visited" . > ./fwdev/lib/account.xqm:declare variable $acc:last-visited as > xs:dateTime? external := (); > > As it seems, there is no other declaration of the variable in the whole > project. What could that be? > > -- > Goody Bye, Minden jót, Mit freundlichen Grüßen, > Andreas Mixich

⚡Generated with XQuery