Skip to content

Instantly share code, notes, and snippets.

@apb2006
Last active November 24, 2021 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apb2006/9702104456e5ee2c48f4ff4f9eba5c1b to your computer and use it in GitHub Desktop.
Save apb2006/9702104456e5ee2c48f4ff4f9eba5c1b to your computer and use it in GitHub Desktop.
Module imports are not transitive https://www.w3.org/TR/xquery-30/#id-module-import
module namespace b = 'b';
import module namespace c = 'c' at 'c.xqm';
module namespace c = 'c';
declare function c:hello(){
"can you see me now"
};
import module namespace b = 'b' at 'b.xqm';
declare namespace c='c';
c:hello()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment