From: Wolfgang M. <wol...@ex...> - 2012-08-31 19:36:47
|
> "[Definition: A module M1 directly depends on another module M2 > (different from M1) if a variable or function declared in M1 depends > on a variable or function declared in M2. This refers to dependencies between functions or variables, which may not recursively depend on each other. The following section is pretty clear though: "J.4 Cycles It is not an error to have a cycle in the import graph, either at the level of module URIs or at the level of location URIs. The only rules concerning cycles affect the relationships between functions and variables defined in different modules." http://www.w3.org/TR/xquery/#id-module-handling-cycles Cyclic imports are pretty normal in well-written code. They were a problem back in the old C days, but modern compilers can handle this. Wolfgang |