XQST0047

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";

Get XQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.