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

Inspection - check if module namespace prefix is same as module file name #104

Closed
arnostv opened this issue May 25, 2014 · 0 comments · Fixed by #105
Closed

Inspection - check if module namespace prefix is same as module file name #104

arnostv opened this issue May 25, 2014 · 0 comments · Fixed by #105

Comments

@arnostv
Copy link
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant