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

Comments

Projects
None yet
1 participant
@ChristianGruen
Member

ChristianGruen commented Sep 16, 2015

  • 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

This comment has been minimized.

Member

ChristianGruen commented Mar 3, 2016

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

This comment has been minimized.

Member

ChristianGruen commented Mar 3, 2016

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