Two separate module imports specify the same target namespace, which is not permitted. Instead, specify multiple module locations for the same target namespace in a single import, using commas to separate them. For example, change this:
import module "http://datypic.com/strings" at "http://datypic.com/strings/lib.xq"; import module "http://datypic.com/strings" at "http://datypic.com/strings/lib2.xq";
to this:
import module "http://datypic.com/strings" at "http://datypic.com/strings/lib.xq", "http://datypic.com/strings/lib2.xq";
3.144.38.253