Hi Tomas,
Don't worry about space, as per Jay's response, it's a normal behavior so I'll handle that in my own code.
As soon as I patched LuaSoap 3.0, it is perfectly working with Lua5.1 ... providing I changed as well soap.lua to init.lua
> I think this is a problem with your package.path...
Hum, I'm still using Lua as it was packaged in my distribution (Gentoo) and I haven't changed any path as far I reminder :
$ luarocks path
export
LUA_PATH='/usr/local/share/lua/5.1//?.lua;/usr/local/share/lua/5.1//?/init.lua;/home/laurent/.luarocks/share/lua/5.1//?.lua;/home/laurent/.luarocks/share/lua/5.1//?/init.lua;/usr/local/share/lua/5.1//?.lua;/usr/local/share/lua/5.1//?/init.lua;./?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua'
export LUA_CPATH='/usr/local/lib/lua/5.1//?.so;/home/laurent/.luarocks/lib/lua/5.1//?.so;./?.so;/usr/local/lib/lua/5.1/?.so;/usr/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/loadall.so'
I did also a test installation with Lua5.2 and I got the same path :
$ ~/lua52/bin/luarocks path
export
LUA_PATH='/home/laurent/lua52/share/lua/5.2/?.lua;/home/laurent/lua52/share/lua/5.2/?/init.lua;/home/laurent/lua52/share/lua/5.2//?.lua;/home/laurent/lua52/share/lua/5.2//?/init.lua;/home/laurent/lua52/share/lua/5.2/?.lua;/home/laurent/lua52/share/lua/5.2/?/init.lua;/home/laurent/lua52/lib/lua/5.2/?.lua;/home/laurent/lua52/lib/lua/5.2/?/init.lua;./?.lua'
export LUA_CPATH='/home/laurent/lua52/lib/lua/5.2/?.so;/home/laurent/lua52/lib/lua/5.2/?.so;/home/laurent/lua52/lib/lua/5.2/loadall.so;./?.so'
Bye
Laurent