On Thu, 2014-01-02 at 03:18 -0600, Joe Wicentowski wrote: > I think you may have found a bug in eXist-db. Your code can be > reduced to the following tests: > > Works in eXist-db: > > ('A','B','C','D') ! element {.} {'Z'} > > Fails with the undefined static context error. > > ('A','B','C','D') ! (let $x := 1 return element {.} {'Z'})
Both these examples work in BaseX for what it's worth (I just tried, at least in "7.7beta"). -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml The barefoot typographer _______________________________________________ talk@x-query.com http://x-query.com/mailman/listinfo/talk