Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XQuery: Inspect Already Imported Modules #1194

Open
ChristianGruen opened this issue Sep 16, 2015 · 2 comments
Open

XQuery: Inspect Already Imported Modules #1194

ChristianGruen opened this issue Sep 16, 2015 · 2 comments
Milestone

Comments

@ChristianGruen
Copy link
Member

  • m.xqm:
module namespace m = 'm';
declare variable $m:x := 1;
  • main.xq:
import module namespace m = 'm' at 'm.xqm';
inspect:functions('m.xqm')
  • Result: [XQST0049] Duplicate declaration of static variable $m:x.
@ChristianGruen
Copy link
Member Author

Related:

  • m.xqm:
module namespace m = "m";
declare function m:f() { count#1(1) };
  • main.xq:
inspect:functions('m.xqm')()
  • Result: RuntimeException: Closure was not compiled: function($items_0) as xs:integer { count($items_0) }

@ChristianGruen
Copy link
Member Author

The second (related) issue is fixed.

@ChristianGruen ChristianGruen added this to the HOLD milestone Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant