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

Inspection - check if declared default function namespace is same as module namespace #106

Closed
arnostv opened this Issue May 27, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@arnostv
Contributor

arnostv commented May 27, 2014

Inspection should check that default function name space is same as module namespace.

Module which satisfies this inspection:

module namespace myModule = "my://sample/namespace/myModule";
declare function myModule:someFunction() {
  fn:true()
};

can be written without using names pace prefix in function declaration

module namespace myModule = "my://sample/namespace/myModule";
declare default function namespace "my://sample/namespace/myModule";
declare function someFunction() {
  fn:true()
};

arnostv added a commit to arnostv/intellij-xquery that referenced this issue Jun 5, 2014

arnostv added a commit to arnostv/intellij-xquery that referenced this issue Jun 5, 2014

@ligasgr ligasgr closed this in #109 Jun 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment