Yes this problem occurs when running basexgui.bat, but it doesn’t if I run basexserver.bat.
I am running official version 8.6.7.
I have not tried the latest snapshot.
It does not make a difference the directory from which it runs.


On Sat, Nov 11, 2017 at 10:42 AM Christian Grün <christian.gruen@gmail.com> wrote:
Sorry for keeping you waiting. So this problem occurs when running basexgui.bat, but it doesn’t if you run basexserver.bat? Does it make a difference from which directory you start the scripts? And I guess the problem also occurs with the latest snapshot?

Thanks in advance,
Christian





Am 11.11.2017 16:37 schrieb "E. Wray Johnson" <wray.johnson@gmail.com>:
This happens in the BaseX GUI not Server.

Error:
Stopped at D:/projects/xquery/geo test.xq, 1/57:
[XQST0059] Module not found: http://expath.org/ns/geo.

Query:
import module namespace geo = "http://expath.org/ns/geo"; declare namespace gml='http://www.opengis.net/gml'; for $x in db:open('geonames2','country') where index-of(['US'], $x/json/countryCode)>0 return geo:envelope( <gml:LinearRing> <gml:coordinates>($x/west, $x/south), ($x/east, $x/south), ($x/east, $x/north), ($x/west, $x/north), ($x/west, $x/south)</gml:coordinates> </gml:LinearRing> )

OS: Windows 7
Installation Method: Windows installer
Launch: basexgui.bat

I had this problem long ago.