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 module namespace prefix is same as module file name #104

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

Comments

Projects
None yet
1 participant
@arnostv
Contributor

arnostv commented May 25, 2014

Add inspection which checks if module name space prefix is based on module file name.

For example in module with namespace URI my://sample/namespace/myFirstModule.xq namespace prefix should be myModuleOne.

module namespace myFirstModule = "my://sample/namespace/myFirstModule.xq";

declare function myFirstModule:someFunction() {
  fn:true()
};

This inspection should be optional and not enabled by default.

arnostv added a commit to arnostv/intellij-xquery that referenced this issue May 25, 2014

arnostv added a commit to arnostv/intellij-xquery that referenced this issue May 25, 2014

arnostv added a commit to arnostv/intellij-xquery that referenced this issue May 25, 2014

@ligasgr ligasgr closed this in #105 May 25, 2014

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